Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The NIO socket channel types have supported the java.net.SocketOption type through two simple setOption() and getOption() methods, as opposed to the approach used in java.net where each option has an explicit setter and getter method. One of the benefits of SocketOption is its easy extensibility particular for non standard/OS specific options. This RFE will add that capability java.net.{Socket,ServerSocket,DatagramSocket,MulticastSocket}