mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-22 06:28:04 +08:00
849ec1684a
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
262 B
262 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_socketpair() | mg_socketpair | func | int mg_socketpair(sock_t[2], int sock_type); |
Creates a socket pair.
sock_type
can be either SOCK_STREAM
or SOCK_DGRAM
.
Returns 0 on failure and 1 on success.