If the address is null
, then the system will pick up an ephemeral port and a valid local address to bind the socket.
@param bindpoint the SocketAddress
to bind to
@throws IOException if the bind operation fails, or if the socketis already bound.
@throws IllegalArgumentException if bindpoint is aSocketAddress subclass not supported by this socket
@since 1.4
@see #isBound
|
|
|
|