directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <>
Subject Re: [mina] Strange problem when SocketConnector connects with local address specified
Date Fri, 22 Apr 2005 01:15:38 GMT

2005/4/22, Luis Gasca <>:
> 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.

what we call human nature is actually human habit

View raw message