-
Enhancement
-
Resolution: Fixed
-
P5
-
5.0
-
b108
-
sparc
-
solaris_10
A DESCRIPTION OF THE REQUEST :
There is no way to access the SO_REUSEPORT socket option in the JDK. The addition of a setReusePort() and getReusePort() function equivalent to setReuseAddress() and getReuseAddress() would fill this gap.
Alternatively, a more generic way of setting and querying individual socket options would suffice.
JUSTIFICATION :
Quite a lot of peer to peer systems are now making use of this flag in order to avoid having to configure many ports on network address translators. With this flag, both outgoing and incoming connections can be bound to the same port and consequently remain bound to the same external port of the NAT.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Add setReusePort() and getReusePort() to the JDK.
ACTUAL -
Not applicable.
---------- BEGIN SOURCE ----------
Not applicable.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Not applicable.
There is no way to access the SO_REUSEPORT socket option in the JDK. The addition of a setReusePort() and getReusePort() function equivalent to setReuseAddress() and getReuseAddress() would fill this gap.
Alternatively, a more generic way of setting and querying individual socket options would suffice.
JUSTIFICATION :
Quite a lot of peer to peer systems are now making use of this flag in order to avoid having to configure many ports on network address translators. With this flag, both outgoing and incoming connections can be bound to the same port and consequently remain bound to the same external port of the NAT.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Add setReusePort() and getReusePort() to the JDK.
ACTUAL -
Not applicable.
---------- BEGIN SOURCE ----------
Not applicable.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Not applicable.
- csr of
-
CCC-6432031 Add support for SO_REUSEPORT
-
- Closed
-