directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <vino...@gmail.com>
Subject Re: [mina] Strange problem when SocketConnector connects with local address specified
Date Fri, 22 Apr 2005 05:17:35 GMT
Hi,

On 4/22/05, Trustin Lee <trustin@gmail.com> wrote:
> Hi,
> 
> 2005/4/22, Luis Gasca <luis@interactive3g.com>:
> > Trustin,
> >
> > I have not looked at the source code of the test case, but It might be
> > because the local port is already bound to an existing connection. I have
> > had this problem from time to time on my development machine. If you are
> > using a machine with many active connections, that might be the case.
> 
> The strange thing is that BindException is not thrown when I call
> bind(), but thrown when finishConnect().  I tried to set ReuseAddress
> and SoLinger, but none helped me out.  I also chose different port
> each time I test, and failed too.

This is weird.  If you send me the code, I could check it out here.

Regards,
Vinod.

Mime
View raw message