Add comment for future task
This commit is contained in:
1 parent
974b5c4f0a
commit
486b53b402
1 file changed
+1
@@ -28,6 +28,7 @@ namespace Mistox.Server {
|
|||||||
TcpClient client = await _Listener.AcceptTcpClientAsync();
|
TcpClient client = await _Listener.AcceptTcpClientAsync();
|
||||||
|
|
||||||
if (_parent.Connections.Count + 1 > _parent.MaxClients) {
|
if (_parent.Connections.Count + 1 > _parent.MaxClients) {
|
||||||
|
//client.Client.SendAsync(); // Send the client a packet saying the servername and reject reason 'server full'
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user