# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef FLATLINE_NET_H | |
2 | #define FLATLINE_NET_H | |
3 | ||
4 | + | #include "stdint.h" |
5 | + | |
6 | #define pad1_size (sizeof(int64_t) - sizeof(short)) | |
7 | #define pad2_size (128 - (sizeof(short) + pad1_size + sizeof(int64_t))) | |
8 | ||
# | Line 30 | Line 32 | int NetUDPSocket_Send(int socket, const | |
32 | void NetUDPSocket_Close(int sock); | |
33 | unsigned char NetUDPSocket_Recieve(int socket, sockaddr_storage* address, char* data, uint16_t* datalen); | |
34 | ||
35 | < | #endif |
35 | > | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |