Example usage for Java javax.net SocketFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
Socket | createSocket(String host, int port) Creates a socket and connects it to the specified remote host at the specified remote port. |
Socket | createSocket(InetAddress host, int port) Creates a socket and connects it to the specified port number at the specified address. |
Socket | createSocket(String host, int port, InetAddress localHost, int localPort) Creates a socket and connects it to the specified remote host on the specified remote port. |
Socket | createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) Creates a socket and connect it to the specified remote address on the specified remote port. |
Socket | createSocket() Creates an unconnected socket. |
Class> | getClass() Returns the runtime class of this Object . |
SocketFactory | getDefault() Returns a copy of the environment's default socket factory. |