Internal_ConnectToIPs() private method

private Internal_ConnectToIPs ( string IP, int remotePort, int localPort ) : NetworkConnectionError
IP string
remotePort int
localPort int
return NetworkConnectionError
Beispiel #1
0
        private static NetworkConnectionError Internal_ConnectToIPs(string[] IP, int remotePort, int localPort)
        {
            string empty = string.Empty;

            return(Network.Internal_ConnectToIPs(IP, remotePort, localPort, empty));
        }
Beispiel #2
0
 /// <summary>
 ///   <para>This function is exactly like Network.Connect but can accept an array of IP addresses.</para>
 /// </summary>
 /// <param name="IPs"></param>
 /// <param name="remotePort"></param>
 /// <param name="password"></param>
 public static NetworkConnectionError Connect(string[] IPs, int remotePort, [DefaultValue("\"\"")] string password)
 {
     return(Network.Internal_ConnectToIPs(IPs, remotePort, 0, password));
 }
Beispiel #3
0
        private static NetworkConnectionError Internal_ConnectToIPs(string[] IP, int remotePort, int localPort)
        {
            string password = "";

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