SO_REUSEPORT feature support in JDK 9 for socket communication

Mark Sheppard mark.sheppard at oracle.com
Thu Oct 22 15:05:47 UTC 2015


the following JBS item exists:
https://bugs.openjdk.java.net/browse/JDK-6432031

search of windows documentation suggests that SO_REUSEPORT is still not 
an option

man setsockopt on Solaris shows it as an option, but without precise 
description of semantics

regards
Mark

On 22/10/2015 14:33, Michael McMahon wrote:
> On 22/10/15 14:24, Alan Bateman wrote:
>>
>>
>> On 22/10/2015 14:04, Roger Riggs wrote:
>>> Hi Sandhya,
>>>
>>> The folks on net-dev at openjdk.java.net will be interested too.
>> Yes, net-dev is the best list for this.
>>
>> One other thing to mention is the SocketOption interface and the 
>> setOption/getOption methods. This allows for platform or JDK-specific 
>> specific socket options, it also allows it to be implemented by the 
>> NIO SocketChannel and friends.
>>
>> -Alan
>
> and there is the jdk.net API which extends this to the java.net socket 
> types.
>
> I think a Java SE API would be fine if it is widely and consistently 
> implemented
> across all the reference platforms and if it does not cause 
> compatibility issues.
>
> If it only works on some platforms then maybe jdk.net could be the 
> place for it.
>
> - Michael




More information about the core-libs-dev mailing list