[jboss-jira] [JBoss JIRA] (JGRP-2009) TCP/TCP_NIO: make SO_REUSEADDR configurable
Bela Ban (JIRA)
issues at jboss.org
Tue Feb 23 06:46:01 EST 2016
[ https://issues.jboss.org/browse/JGRP-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166889#comment-13166889 ]
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)
More information about the jboss-jira
mailing list