Package com.enterprisedt.net.ftp.internal

Examples of com.enterprisedt.net.ftp.internal.FTPActiveDataSocket


        // ensure server sock gets the timeout
       ServerSocket sock = listenOnAllInterfaces ?
               new ServerSocket(port) : new ServerSocket(port, 0, controlSock.getLocalAddress());
       log.debug("ListenOnAllInterfaces=" + listenOnAllInterfaces);
       sock.setSoTimeout(controlSock.getSoTimeout());
       FTPActiveDataSocket activeSock = new FTPActiveDataSocket(sock);
       activeSock.setLocalAddress(controlSock.getLocalAddress());
       return activeSock;
     }
View Full Code Here

TOP

Related Classes of com.enterprisedt.net.ftp.internal.FTPActiveDataSocket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.