Ejemplo n.º 1
0
        public static int connectFTP2(string Ip)
        {
            string param = "protocol=TCP,ipaddress=" + Ip + ",port=" + DllC0402.FTP_PORT2 + ",timeout=" + DllC0402.TIMEOUT + ",";

            return(DllC0402.connectDevice(param));
        }
Ejemplo n.º 2
0
        public static int testOnline(string ipaddress)
        {
            string param = "protocol=TCP,ipaddress=" + ipaddress + ",port=" + TCP_PORT + ",timeout=" + TIMEOUT + ",passwd=" + PASSWORD;

            return(DllC0402.connectDevice(param));
        }