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 9606d237..894bedeb 100644 --- a/core/network.h +++ b/core/network.h | |||
@@ -97,10 +97,10 @@ uint32_t random_int(); | |||
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, uint8_t * 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 receive 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, uint8_t * data, uint32_t * length); | 103 | int receivepacket(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 |