summaryrefslogtreecommitdiff
path: root/core/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/network.h')
-rw-r--r--core/network.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/network.h b/core/network.h
index 088bbb3b..3547f79b 100644
--- a/core/network.h
+++ b/core/network.h
@@ -151,16 +151,6 @@ Networking_Core *new_networking(IP ip, uint16_t port);
151/* function to cleanup networking stuff(doesn't do much right now) */ 151/* function to cleanup networking stuff(doesn't do much right now) */
152void kill_networking(Networking_Core *net); 152void kill_networking(Networking_Core *net);
153 153
154/*
155 resolve_addr():
156 address should represent IPv4 or a hostname with A record
157
158 returns a data in network byte order that can be used to set IP.i or IP_Port.ip.i
159 returns 0 on failure
160
161 TODO: Fix ipv6 support
162*/
163uint32_t resolve_addr(const char *address);
164 154
165#ifdef __cplusplus 155#ifdef __cplusplus
166} 156}