Fixed a really nasty receive bug (TCP only). Using SCTP would be so much better...

This commit is contained in:
lotodore committed 2007-09-03 16:35:45 +00:00
1 parent 9fcd33d229
commit ecab6ed86b
9 files changed
+132 -80

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ ServerLobbyThread::ProcessLoop()
try
{
// Receive the next packet.
packet = GetReceiver().Recv(session.sessionData->GetSocket());
packet = GetReceiver().Recv(session.sessionData->GetSocket(), session.sessionData->GetReceiveBuffer());
} catch (const NetException &)
{
// On error: Close this session.