Receive routine in the lobby server now checks if bytes read is > (not >=) than 0. This was causing connections to stay active and cause the CPU to get bogged down.

This commit is contained in:
Filip Maj 2016-03-30 20:16:59 -04:00
parent 49a13effca
commit 60b4035ec5
2 changed files with 6 additions and 4 deletions

View file

@ -76,6 +76,7 @@ namespace FFXIVClassic_Lobby_Server
public void disconnect()
{
socket.Shutdown(SocketShutdown.Both);
socket.Disconnect(false);
}
}