ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSVC/Flatline_Net.c
(Generate patch)

Comparing Daodan/MSVC/Flatline_Net.c (file contents):
Revision 582 by gumby, Wed Jan 19 04:35:43 2011 UTC vs.
Revision 584 by gumby, Mon Jan 24 06:45:07 2011 UTC

# Line 57 | Line 57 | bool NetUDPServer_Listen(uint16_t port,
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  
# Line 148 | Line 148 | int NetUDPSocket_Send(int socket, const
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:

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)