[
http://jira.jboss.com/jira/browse/JBREM-642?page=comments#action_12353140 ]
Tom Elrod commented on JBREM-642:
----------------------------------
Have changed the creating of the socket to create void socket, set the reuse address, then
connect the socket. The connection of the socket also includes timeout where can do so
(i.e. micro socket client invoker can't have timeout). This means that timeout
property is not only for read timeout but for connection timeout as well.
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