Returns the value of a socket option.
<T>
| The type of the socket option value | |
name
| The socket option |
null
may be
a valid value for some socket options.
UnsupportedOperationException
| If the socket option is not supported by this channel | |
ClosedChannelException
| If this channel is closed | |
IOException
| If an I/O error occurs |
java.net.StandardSocketOptions
Diagram: AsynchronousChannel