- sources
- the buffers containing bytes to write.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.Channels.AsynchronousCloseException if this channel is closed by another thread during this write operation. Java.Nio.Channels.ClosedByInterruptException if another thread interrupts the calling thread while this operation is in progress. The interrupt state of the calling thread is set and the channel is closed. Java.Nio.Channels.ClosedChannelException if this channel is closed. Java.IO.IOException if another I/O error occurs. Java.Nio.Channels.NotYetConnectedException if this channel is not yet connected.
Writes bytes from all the given byte buffers to this socket channel.
Calling this method is equivalent to calling write(sources, 0, sources.length);