[jboss-jira] [JBoss JIRA] Resolved: (JBREM-642) Socket.setReuseAddress() in MicroSocketClientInvoker invocation is ignored

Tom Elrod (JIRA) jira-events at lists.jboss.org
Wed Feb 14 16:22:38 EST 2007


     [ http://jira.jboss.com/jira/browse/JBREM-642?page=all ]

Tom  Elrod resolved JBREM-642.
------------------------------

    Resolution: Done

> 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: Tom  Elrod
>             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