More detailed debug log - show ip/port for sender and receiver

This commit is contained in:
Sergey Lyubka committed 2022-01-05 13:47:11 +00:00
1 parent f7ff571c5f
commit 8ebb3bc37b
4 files changed
+41 -14

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ bool mg_send(struct mg_connection *, const void *, size_t);
int mg_printf(struct mg_connection *, const char *fmt, ...);
int mg_vprintf(struct mg_connection *, const char *fmt, va_list ap);
char *mg_straddr(struct mg_connection *, char *, size_t);
char *mg_addr_to_str(struct mg_addr *, char *, size_t);
bool mg_aton(struct mg_str str, struct mg_addr *addr);
char *mg_ntoa(const struct mg_addr *addr, char *buf, size_t len);