private void local_ConnectionRequested(object sender, NetSockConnectionRequestEventArgs e) { this.server.Accept(e.Client); account.Log(new ConnectionTextInformation("Accepted client !"), 0); account.Init(); }
private void server_ConnectionRequested(object sender, NetSockConnectionRequestEventArgs e) { account.Log(new ConnectionTextInformation("Connection Requested: " + ((System.Net.IPEndPoint)e.Client.RemoteEndPoint).Address.ToString()), 4); this.server.Accept(e.Client); account.Init(); }
private void server_ConnectionRequested(object sender, NetSockConnectionRequestEventArgs e) { account.Log(new ConnectionTextInformation("Connection Requested: " + ((System.Net.IPEndPoint)e.Client.RemoteEndPoint).Address.ToString()),4); this.server.Accept(e.Client); account.Init(); }