SocketImpl.bind

SocketImpl.bind

Class Overview | Class Members | This Package | All Packages

Syntax
protected abstract void bind( InetAddress host, int port ) throws IOException
Parameters
host
the IP address of the remote host.
port
the port number.
Description
Binds this socket to the specified port number on the specified host.

Exceptions
IOException if an I/O error occurs when binding this socket.