From 0f93ab84e923c8208cc68472cbe87ed57cffc030 Mon Sep 17 00:00:00 2001 From: Behnejad <3690943+behnejad@users.noreply.github.com> Date: Wed, 1 Jun 2022 14:36:17 +0430 Subject: [PATCH] Update README.md after sending buffer to socket, MG_EV_WRITE will generated. --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 071e7e55..221a8acb 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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