Esempio n. 1
0
 private static void ServerOnClientConnected(object sender, ConnectedClient tcpClient)
 {
     Program.Log(
         $"Client connected: {tcpClient.Client.Client.Handle} - {((IPEndPoint) tcpClient.Client.Client.RemoteEndPoint).Address}");
 }
Esempio n. 2
0
 internal void NotifyClientDisconnected(Server.ServerListener listener, ConnectedClient disconnectedClient)
 {
     ClientDisconnected?.Invoke(this, disconnectedClient);
 }
Esempio n. 3
0
 private static void ServerOnClientDisconnected(object sender, ConnectedClient tcpClient)
 {
     Program.Log($"Client disconnected: {tcpClient.Client.Client.Handle}");
 }
Esempio n. 4
0
 internal void NotifyClientConnected(Server.ServerListener listener, ConnectedClient newClient)
 {
     ClientConnected?.Invoke(this, newClient);
 }