mongoose/docs/c-api/util.h/mg_sock_addr_to_str.md
2016-07-25 17:33:17 +01:00

336 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);

Converts the socket's address into string.

flags is MG_SOCK_STRINGIFY_IP and/or MG_SOCK_STRINGIFY_PORT.