mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 21:55:42 +12:00
Add case for if AcceptAsync returns false
This commit is contained in:
parent
fa0cdf4b7a
commit
98fc5aede3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue