mirror of
https://gitlab1.ptb.de/waltem01/csharpsocketserver
synced 2024-02-04 23:19:43 +00:00
equal waiting times
This commit is contained in:
parent
1d64ee823a
commit
f8e878a6fb
|
@ -97,7 +97,7 @@ public static class Connection {
|
|||
own.BeginAccept(new AsyncCallback(AcceptCallback), own);
|
||||
// Wait for and close connection
|
||||
while (self == null)
|
||||
Thread.Sleep(250);
|
||||
Thread.Sleep(500);
|
||||
own.Close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user