private void Server_ClientConnected(object sender, ClientEventArgs e) { ConnectedMessageQueue.Enqueue($"Client connected from {e.Client.TcpClient.Client.RemoteEndPoint}."); e.Client.SendPacket(new GetSystemInfoRequestPacket()); }
private void Server_ClientConnected(object sender, ClientEventArgs e) { ConnectedMessageQueue.Enqueue(string.Format(Resources.Strings.Main_ClientConnected, e.Client.RemoteAddress)); e.Client.SendPacket(new GetSystemInfoRequestPacket()); }