| 57 |
|
bool NetUDPServer_Send(sockaddr* address, flatline_packet* data, int datalen) |
| 58 |
|
{ |
| 59 |
|
//DDrConsole_PrintF("Sending data size %u to %s on socket %i", datalen, inet_ntoa( ((sockaddr_in*)address)->sin_addr ), UDPServer_Socket); |
| 60 |
< |
data->FLATLINE = *(int*)"FLATLINE"; |
| 60 |
> |
//data->FLATLINE = *(int*)"FLATLINE"; |
| 61 |
|
return NetUDPSocket_Send(UDPServer_Socket, address, data, datalen); |
| 62 |
|
} |
| 63 |
|
|
| 148 |
|
packet_index = (packet_index + 1); |
| 149 |
|
data->packet_index = packet_index; |
| 150 |
|
#endif |
| 151 |
< |
data->FLATLINE = *(int*)"FLATLINE"; |
| 151 |
> |
//data->FLATLINE = *(int*)"FLATLINE"; |
| 152 |
|
switch (address->sa_family) |
| 153 |
|
{ |
| 154 |
|
case AF_INET: |