예제 #1
0
        void SendLogonChallenge()
        {
            ClientAuthChallenge challenge = new ClientAuthChallenge()
            {
                username = Username,
                IP       = BitConverter.ToUInt32((connection.Client.LocalEndPoint as IPEndPoint).Address.GetAddressBytes(), 0)
            };

            Send(challenge);
            ReadCommand();
        }
예제 #2
0
        void SendLogonChallenge()
        {
            Game.UI.LogDebug("Sending logon challenge");

            ClientAuthChallenge challenge = new ClientAuthChallenge()
            {
                username = Username,
                IP       = BitConverter.ToUInt32((connection.Client.LocalEndPoint as IPEndPoint).Address.GetAddressBytes(), 0)
            };

            challenge.Send(stream);
            ReadCommand();
        }
예제 #3
0
        void SendLogonChallenge()
        {
            Game.UI.LogDebug("Sending logon challenge");

            ClientAuthChallenge challenge = new ClientAuthChallenge()
            {
                username = Username,
                IP = BitConverter.ToUInt32((connection.Client.LocalEndPoint as IPEndPoint).Address.GetAddressBytes(), 0)
            };

            Send(challenge);
            ReadCommand();
        }