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: