Exemple #1
0
 public static void Play(string ServerName, string LoginName, string Password, int Port, Strive.Network.Messages.NetworkProtocolType Protocol, IWin32Window RenderTarget)
 {
     userName = LoginName;
     password = Password;
     protocol = Protocol;
     CurrentServerConnection.protocol = protocol;
     Log.Info("Connecting to " + ServerName + ":" + Port);
     CurrentServerConnection.Start(new IPEndPoint(Dns.GetHostByName(ServerName).AddressList[0], Port));
 }
Exemple #2
0
		public static void Play(string ServerName, string LoginName, string Password, int Port, Strive.Network.Messages.NetworkProtocolType Protocol, IWin32Window RenderTarget) 
		{
			userName = LoginName;
			password = Password;
			protocol = Protocol;
			CurrentServerConnection.protocol = protocol;
			Log.Info( "Connecting to " + ServerName + ":" + Port );
			CurrentServerConnection.Start( new IPEndPoint( Dns.GetHostByName( ServerName ).AddressList[0], Port ) );
		}