directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [mina] Strange problem when SocketConnector connects with local address specified
Date Fri, 22 Apr 2005 09:11:22 GMT
Hi,

2005/4/22, Vinod Panicker <vinod.p@gmail.com>:
> The problem seems to be the same - port in TIME_WAIT/ESTABLISHED state.
> 
> Even I tried using the DefaultSessionInitializer with the reuseaddress
> set to true, but to no avail.  What i'm trying now is using different
> ports for each acceptor and connector.

DefaultSessionInitializer sets KEEP_ALIVE and REUSE_ADDR to true by
default, and therefore you don't need to set those properties.

The most stange thing is BindException is not thrown when
socket().bind() is called. It is thrown from finishConnect().

Thanks,
Trustin

> 
> Regards,
> Vinod.
> 
> On 4/22/05, Trustin Lee <trustin@gmail.com> wrote:
> > Hi,
> >
> > 2005/4/22, Vinod Panicker <vinod.p@gmail.com>:
> > > Hi Trustin,
> > >
> > > Now the test failed.
> >
> > That's why I skipped the test for SocketConnector.  I don't have any
> > clues for now.  Any ideas?
> >
> > Trustin
> --snip--
> 


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message