mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Update docs
This commit is contained in:
parent
cc9639b3cb
commit
0de83157dc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user