mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
Update mg_socketpair.md
This commit is contained in:
1 parent
d20e94f763
commit
f900854e0d
1 file changed
+2
-2
@@ -6,7 +6,7 @@ signature: |
|
|||||||
int mg_socketpair(sock_t[2], int sock_type);
|
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`.
|
`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.
|
||||||
|
|
||||||
Reference in new issue
Block a user