void SendLogonChallenge() { ClientAuthChallenge challenge = new ClientAuthChallenge() { username = Username, IP = BitConverter.ToUInt32((connection.Client.LocalEndPoint as IPEndPoint).Address.GetAddressBytes(), 0) }; Send(challenge); ReadCommand(); }
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(); }
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(); }