Update README.md

after sending buffer to socket, MG_EV_WRITE will generated.
This commit is contained in:
Behnejad authored and GitHub committed 2022-06-01 14:36:17 +04:30
1 parent 4dd1891594
commit 0f93ab84e9
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ When data arrives, Mongoose appends received data to the `recv` and triggers a
functions, like `mg_send()`, `mg_printf()` or a protocol-specific function like
`mg_ws_send`. Output functions append data to the `send` buffer. When Mongoose
successfully writes data to the socket, it discards data from struct `mg_connection::send`
and sends an `MG_EV_SEND` event.
and sends an `MG_EV_WRITE` event.
## Event handler function