mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-25 07:19:24 +00:00
Replace legacy IPv4 APIs
This commit is contained in:
@@ -39,6 +39,7 @@ int net_connect (netstore *ns, int sok4, int sok6, int *sok_return);
|
||||
char *net_resolve (netstore *ns, char *hostname, int port, char **real_host);
|
||||
void net_bind (netstore *tobindto, int sok4, int sok6);
|
||||
char *net_ip (uint32_t addr);
|
||||
int net_parse_ipv4 (const char *hostname, uint32_t *addr);
|
||||
int net_lookup_ipv4 (const char *hostname, uint32_t *addr);
|
||||
void net_sockets (int *sok4, int *sok6);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user