mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Update docs
This commit is contained in:
1 parent
cc9639b3cb
commit
0de83157dc
1 file changed
+2
-3
+2
-3
@@ -10,11 +10,10 @@ by a vast number of open source and commercial products - it even runs on the
|
|||||||
International Space Station! Mongoose makes embedded network programming fast,
|
International Space Station! Mongoose makes embedded network programming fast,
|
||||||
robust, and easy.
|
robust, and easy.
|
||||||
|
|
||||||
Mongoose has three basic data structures:
|
Mongoose has two basic data structures:
|
||||||
|
|
||||||
- `struct mg_mgr` - an event manager that holds all active connections
|
- `struct mg_mgr` - an event manager that holds all active connections
|
||||||
- `struct mg_connection` - describes a connection
|
- `struct mg_connection` - a single connection descriptor
|
||||||
- `struct mg_iobuf` - describes data buffer (received or sent data)
|
|
||||||
|
|
||||||
Connections could be either listening, outbound or inbound. Outbound
|
Connections could be either listening, outbound or inbound. Outbound
|
||||||
connections are created by the `mg_connect()` call. Listening connections are
|
connections are created by the `mg_connect()` call. Listening connections are
|
||||||
|
|||||||
Reference in new issue
Block a user