Minor adjustment to event registration for SocketStatusChange

This commit is contained in:
Neil Dorin
2019-05-16 11:44:09 -06:00
parent 4aded28792
commit f330cc0f5a
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -395,7 +395,7 @@ namespace PepperDash.Core
}
myTcpServer.SocketStatusChange -= TcpServer_SocketStatusChange;
myTcpServer.SocketStatusChange += new TCPServerSocketStatusChangeEventHandler(TcpServer_SocketStatusChange);
myTcpServer.SocketStatusChange += TcpServer_SocketStatusChange;
ServerStopped = false;
myTcpServer.WaitForConnectionAsync(IPAddress.Any, TcpConnectCallback);