2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2022-08-13 04:02:21 +03:00
parent 21a2061fc4
commit f4d5eb0fdd
4 changed files with 18 additions and 22 deletions

View File

@ -149,19 +149,16 @@ public class DistributedServer : NetworkServer<DistributedConnection>, IResource
// base.AddConnection(connection);
//}
bool one = false;
protected override void ClientConnected(DistributedConnection connection)
{
// if (!one)
//connection.OnReady += ConnectionReadyEventReceiver;
Task.Delay(10000).ContinueWith((x) =>
{
Console.WriteLine("By bye");
// Remove me from here
connection.Close();
one = true;
});
//Task.Delay(10000).ContinueWith((x) =>
//{
// Console.WriteLine("By bye");
// // Remove me from here
// connection.Close();
// one = true;
//});
}