[jboss-jira] [JBoss JIRA] Updated: (JBREM-642) Socket.setReuseAddress() in MicroSocketClientInvoker invocation is ignored
Tom Elrod (JIRA)
jira-events at jboss.com
Tue Dec 19 13:16:39 EST 2006
[ http://jira.jboss.com/jira/browse/JBREM-642?page=all ]
Tom Elrod updated JBREM-642:
-----------------------------
Fix Version/s: 2.2.0.Beta1 (Bluto)
Affects Version/s: 2.2.0.Alpha4
Assignee: Ron Sigal (was: Tom Elrod)
> Socket.setReuseAddress() in MicroSocketClientInvoker invocation is ignored
> --------------------------------------------------------------------------
>
> Key: JBREM-642
> URL: http://jira.jboss.com/jira/browse/JBREM-642
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: transport
> Affects Versions: 2.2.0.Alpha4
> Reporter: Dejan Predovic
> Assigned To: Ron Sigal
> Fix For: 2.2.0.Beta1 (Bluto)
>
>
> For Socket.setReuseAddress() to do anything it needs to be invoked before the socket is bound. Creating a socket with new Socket(host, port) automatically binds it, so there is no way to do it
> protected Socket createSocket(String address, int port) throws IOException
> {
> return new Socket(address, port);
> }
> needs to be changed to use the default constructor, invoke setReuseAddress() and then bind().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list