java.rmi.server
public interface RMIClientSocketFactory
Socket
createSocket(String host, int port)
Socket createSocket(String host, int port) throws IOException
IOException