Replace DCC IPv4 lookups with getaddrinfo

This commit is contained in:
2026-06-06 15:50:52 -06:00
parent b8a7ccf005
commit 38acde1b20
5 changed files with 37 additions and 28 deletions

View File

@@ -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_lookup_ipv4 (const char *hostname, uint32_t *addr);
void net_sockets (int *sok4, int *sok6);
#endif