protected void OnClientConnected(RemoteHostState state) { try { if (ClientConnectionStateChanged != null) { ClientConnectionEventArgs eventargs = new ClientConnectionEventArgs(state.EndPoint.Address.ToString(), state.EndPoint.Port, true, null, true); eventargs.Client = state; ClientConnectionStateChanged(this, eventargs); } } catch { } }