diff options
Diffstat (limited to 'core/network.h')
-rw-r--r-- | core/network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/network.h b/core/network.h index c8fdce5c..9606d237 100644 --- a/core/network.h +++ b/core/network.h | |||
@@ -95,12 +95,12 @@ uint32_t random_int(); | |||
95 | //Basic network functions: | 95 | //Basic network functions: |
96 | 96 | ||
97 | //Function to send packet(data) of length length to ip_port | 97 | //Function to send packet(data) of length length to ip_port |
98 | int sendpacket(IP_Port ip_port, char * data, uint32_t length); | 98 | int sendpacket(IP_Port ip_port, uint8_t * data, uint32_t length); |
99 | 99 | ||
100 | //Function to recieve data, ip and port of sender is put into ip_port | 100 | //Function to recieve data, ip and port of sender is put into ip_port |
101 | //the packet data into data | 101 | //the packet data into data |
102 | //the packet length into length. | 102 | //the packet length into length. |
103 | int recievepacket(IP_Port * ip_port, char * data, uint32_t * length); | 103 | int recievepacket(IP_Port * ip_port, uint8_t * data, uint32_t * length); |
104 | 104 | ||
105 | //initialize networking | 105 | //initialize networking |
106 | //bind to ip and port | 106 | //bind to ip and port |