diff options
Diffstat (limited to 'core/network.h')
-rw-r--r-- | core/network.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/network.h b/core/network.h index 6f140d0c..62169d88 100644 --- a/core/network.h +++ b/core/network.h | |||
@@ -121,10 +121,9 @@ int receivepacket(IP_Port * ip_port, uint8_t * data, uint32_t * length); | |||
121 | ip must be in network order EX: 127.0.0.1 = (7F000001) | 121 | ip must be in network order EX: 127.0.0.1 = (7F000001) |
122 | port is in host byte order (this means don't worry about it) | 122 | port is in host byte order (this means don't worry about it) |
123 | returns 0 if no problems | 123 | returns 0 if no problems |
124 | TODO: add something to check if there are errors */ | 124 | returns -1 if there were problems */ |
125 | int init_networking(IP ip ,uint16_t port); | 125 | int init_networking(IP ip ,uint16_t port); |
126 | 126 | ||
127 | |||
128 | /* function to cleanup networking stuff(doesn't do much right now) */ | 127 | /* function to cleanup networking stuff(doesn't do much right now) */ |
129 | void shutdown_networking(); | 128 | void shutdown_networking(); |
130 | 129 | ||