Methods Summary |
---|
public java.net.ServerSocket | createServerSocket(int port)Creates a ServerSocket bound to a specified port. A port
of 0 will create the ServerSocket on a system-determined free port.
|
public java.net.ServerSocket | createServerSocket(int port, int backlog)Creates a ServerSocket bound to a specified port with a given
maximum queue length for incoming connections. A port of 0 will
create the ServerSocket on a system-determined free port.
|
public java.net.ServerSocket | createServerSocket(int port, int backlog, java.net.InetAddress bindAddr)Creates a ServerSocket bound to a specified port on a given local
address with a given maximum queue length for incoming connections.
A port of 0 will
create the ServerSocket on a system-determined free port.
|
public java.net.Socket | createSocket(java.lang.String host, int port)Creates a Socket connected to the given host and port.
|
public java.net.Socket | createSocket(java.net.InetAddress address, int port)Creates a Socket connected to the given host and port.
|
public java.net.Socket | createSocket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort)Creates a Socket connected to the given host and port and
originating from the specified local address and port.
|
public java.net.Socket | createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort)Creates a Socket connected to the given host and port and
originating from the specified local address and port.
|