[
https://issues.jboss.org/browse/JGRP-2009?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-2009:
--------------------------------
Copied code for solution from ISPN-6099:
{noformat}
while(port in range)
channel=ServerSocketChanel.open();
channel.bind(addr,port);
if(exception) -> port++ and continue
{noformat}
TCP/TCP_NIO: make SO_REUSEADDR configurable
-------------------------------------------
Key: JGRP-2009
URL:
https://issues.jboss.org/browse/JGRP-2009
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6.8, 4.0
Before binding a {{ServerSocket}} or {{ServerSocketChannel}}, let the user configure
whether of not to reuse addresses by setting option {{SO_REUSEADDR}} (and possibly
{{SO_REUSEPORT}}?).
See
https://issues.jboss.org/browse/ISPN-6099 for details
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)