mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-06 00:22:44 +08:00
Update mg_socketpair.md
This commit is contained in:
parent
d20e94f763
commit
f900854e0d
@ -6,7 +6,7 @@ signature: |
|
||||
int mg_socketpair(sock_t[2], int sock_type);
|
||||
---
|
||||
|
||||
Create a socket pair.
|
||||
Creates a socket pair.
|
||||
`sock_type` can be either `SOCK_STREAM` or `SOCK_DGRAM`.
|
||||
Return 0 on failure, 1 on success.
|
||||
Returns 0 on failure and 1 on success.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user