mongoose/docs/c-api/util.h/mg_sock_addr_to_str.md
Dmitry Frank 849ec1684a Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00

335 B

title decl_name symbol_kind signature
mg_sock_addr_to_str() mg_sock_addr_to_str func void mg_sock_addr_to_str(const union socket_address *sa, char *buf, size_t len, int flags);

Convert the socket's address into string.

flags is MG_SOCK_STRINGIFY_IP and/or MG_SOCK_STRINGIFY_PORT.