Internal_ConnectToSingleIP() private method

private Internal_ConnectToSingleIP ( string IP, int remotePort, int localPort ) : NetworkConnectionError
IP string
remotePort int
localPort int
return NetworkConnectionError
Ejemplo n.º 1
0
        private static NetworkConnectionError Internal_ConnectToSingleIP(string IP, int remotePort, int localPort)
        {
            string empty = string.Empty;

            return(Network.Internal_ConnectToSingleIP(IP, remotePort, localPort, empty));
        }
Ejemplo n.º 2
0
 /// <summary>
 ///   <para>Connect to the specified host (ip or domain name) and server port.</para>
 /// </summary>
 /// <param name="IP"></param>
 /// <param name="remotePort"></param>
 /// <param name="password"></param>
 public static NetworkConnectionError Connect(string IP, int remotePort, [DefaultValue("\"\"")] string password)
 {
     return(Network.Internal_ConnectToSingleIP(IP, remotePort, 0, password));
 }
Ejemplo n.º 3
0
        private static NetworkConnectionError Internal_ConnectToSingleIP(string IP, int remotePort, int localPort)
        {
            string password = "";

            return(Network.Internal_ConnectToSingleIP(IP, remotePort, localPort, password));
        }