Add case for if AcceptAsync returns false

This commit is contained in:
Bluzume 2021-11-05 03:10:39 -04:00
parent fa0cdf4b7a
commit 98fc5aede3

View file

@ -8099,7 +8099,8 @@ namespace HISP.Server
SocketAsyncEventArgs e = new SocketAsyncEventArgs(); SocketAsyncEventArgs e = new SocketAsyncEventArgs();
e.Completed += GameClient.CreateClient; e.Completed += GameClient.CreateClient;
ServerSocket.AcceptAsync(e); if (!ServerSocket.AcceptAsync(e))
GameClient.CreateClient(null, e);
} }
} }