(svn r7821) -Fix: be more strict about the socket from where packets arrive. Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc.

This commit is contained in:
rubidium
2007-01-04 15:42:09 +00:00
parent 90f546e87e
commit 6851608c00
3 changed files with 32 additions and 28 deletions

View File

@@ -119,7 +119,7 @@ void NetworkUDPReceive(SOCKET udp)
p.next = NULL;
/* Handle the packet */
NetworkHandleUDPPacket(&p, &client_addr);
NetworkHandleUDPPacket(udp, &p, &client_addr);
}
}