mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-04 01:39:01 +08:00
7bed7ff482
Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
257 B
257 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_socketpair() | mg_socketpair | func | int mg_socketpair(sock_t[2], int sock_type); |
Create a socket pair.
sock_type
can be either SOCK_STREAM
or SOCK_DGRAM
.
Return 0 on failure, 1 on success.