Accepts a connection.
Binds the channel's socket to a local address and configures the socket to listen for connections, up to backlog pending connection.
Binds the channel's socket to an automatically assigned local address and configures the socket to listen for connections, up to backlog pending connection.
Binds the channel's socket to a local address and configures the socket to listen for connections, up to backlog pending connection.
Tells whether or not this channel is open.
The SocketAddress
that the socket is bound to,
or the SocketAddress
representing the loopback address if
denied by the security manager, or Maybe.empty
if the
channel's socket is not bound.