[jboss-jira] [JBoss JIRA] Created: (JBREM-642) Socket.setReuseAddress() in MicroSocketClientInvoker invocation is ignored
Dejan Predovic (JIRA)
jira-events at jboss.com
Mon Dec 4 12:34:55 EST 2006
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
Reporter: Dejan Predovic
Assigned To: Tom Elrod
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