[osol-discuss] EADDRINUSE error even after setting SO_REUSEADDR
neelesh
neelesh610 at gmail.com
Tue Mar 3 05:28:10 PST 2009
hi,
I am running a TCP client and TCP server in the same machine(64 bit x86 machine with Solaris 10). The Server and Client establish a connection and exchange messages. The port used by them is in TIME_WAIT state, after the completion.
If I run the Server and Client programs again immediately within the TIME_WAIT state, in the Client program I get the errno 125 when it tries to connect(). I am using IPv6 addresses. I ensured to set the socket option
SO_REUSEADDR.
Can some one help me if there is any way to overcome this error.
Thanks in advance,
Neelesh.
--
This message posted from opensolaris.org
More information about the opensolaris-discuss
mailing list