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 01:15:38 GMT
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.

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

Mime
View raw message