mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 07:29:04 +08:00
14 lines
331 B
Markdown
14 lines
331 B
Markdown
|
---
|
||
|
title: "mg_sock_addr_to_str()"
|
||
|
decl_name: "mg_sock_addr_to_str"
|
||
|
symbol_kind: "func"
|
||
|
signature: |
|
||
|
void mg_sock_addr_to_str(const union socket_address *sa, char *buf, size_t len,
|
||
|
int flags);
|
||
|
---
|
||
|
|
||
|
Convert socket's address into string.
|
||
|
|
||
|
`flags` is MG_SOCK_STRINGIFY_IP and/or MG_SOCK_STRINGIFY_PORT.
|
||
|
|