- address
- the socket address to be connected to.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.Channels.AsynchronousCloseException if this channel is closed by another thread while this method is executing. Java.Nio.Channels.ClosedByInterruptException if another thread interrupts the calling thread while this operation is executing. The calling thread will have the interrupt state set and the channel will be closed. Java.Nio.Channels.UnresolvedAddressException if the address is not resolved. Java.Nio.Channels.UnsupportedAddressTypeException if the address type is not supported. Java.IO.IOException if an I/O error occurs.
Creates a socket channel and connects it to a socket address.
This method performs a call to open() followed by a call to connect(SocketAddress).