public void StartConnection() { if (this.Connection != null) { this.PongOK = true; TcpConnection.RouteReceivedDataCallback dataRouter = new TcpConnection.RouteReceivedDataCallback(this.HandleConnectionData); this.Connection.Start(dataRouter); } }
public void StartConnection() { if (Connection == null) { return; } PongOK = true; TcpConnection.RouteReceivedDataCallback DataRouter = new TcpConnection.RouteReceivedDataCallback(HandleConnectionData); Connection.Start(DataRouter); }