예제 #1
0
 private void TCPServer_ClientDisconnected(IClientInfo client, SimpleSockets.DisconnectReason reason)
 {
     Debug.WriteLine("[-] " + client.ClientName);
     Console.WriteLine("[-] " + client.ToString());
 }
예제 #2
0
 private void TCPServer_ClientConnected(IClientInfo clientInfo)
 {
     Debug.WriteLine("[+] " + clientInfo.ClientName);
     Console.WriteLine("[+] " + clientInfo.ToString());
 }