mg_sock_addr_to_str.md 335 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
---
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);
---

10
Convert the socket's address into string.
11 12 13

`flags` is MG_SOCK_STRINGIFY_IP and/or MG_SOCK_STRINGIFY_PORT.