Esempio n. 1
0
        private void Server_ClientConnected(object sender, ClientEventArgs e)
        {
            ConnectedMessageQueue.Enqueue($"Client connected from {e.Client.TcpClient.Client.RemoteEndPoint}.");

            e.Client.SendPacket(new GetSystemInfoRequestPacket());
        }
Esempio n. 2
0
        private void Server_ClientConnected(object sender, ClientEventArgs e)
        {
            ConnectedMessageQueue.Enqueue(string.Format(Resources.Strings.Main_ClientConnected, e.Client.RemoteAddress));

            e.Client.SendPacket(new GetSystemInfoRequestPacket());
        }