PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
This commit is contained in:
Бобби authored and Cesanta Bot committed 2017-10-16 15:18:24 +00:00
1 parent f0c6630a16
commit 6e3e5560d0
33 files changed
+98 -193

No files matched your search

+2 -4
View File
@@ -1,6 +1,4 @@
---
title: Memory buffers
---
# Memory buffers
Each connection has a send and receive buffer, `struct mg_connection::send_mbuf`
and `struct mg_connection::recv_mbuf` respectively. When data arrives,
@@ -11,4 +9,4 @@ When Mongoose successfully writes data to the socket, it discards data from
`struct mg_connection::send_mbuf` and sends an `MG_EV_SEND` event. When the connection
is closed, an `MG_EV_CLOSE` event is sent.
![](media/mbuf.png)
![](/docs/media/mbuf.png)