mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-17 13:44:46 +00:00
Minor adjustment to event registration for SocketStatusChange
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -395,7 +395,7 @@ namespace PepperDash.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
myTcpServer.SocketStatusChange -= TcpServer_SocketStatusChange;
|
myTcpServer.SocketStatusChange -= TcpServer_SocketStatusChange;
|
||||||
myTcpServer.SocketStatusChange += new TCPServerSocketStatusChangeEventHandler(TcpServer_SocketStatusChange);
|
myTcpServer.SocketStatusChange += TcpServer_SocketStatusChange;
|
||||||
|
|
||||||
ServerStopped = false;
|
ServerStopped = false;
|
||||||
myTcpServer.WaitForConnectionAsync(IPAddress.Any, TcpConnectCallback);
|
myTcpServer.WaitForConnectionAsync(IPAddress.Any, TcpConnectCallback);
|
||||||
|
|||||||
Reference in New Issue
Block a user