RE: How to make kernel release socket..
You probably want to read about "setsockopt". In particular, the SO_REUSEADDR
Install a signal handler to catch the SIGPIPE and do what you want. See
"sigaction" and other signal man pages.
From: Won-Ho Kye[SMTP:email@example.com]
Sent: Thursday, April 02, 1998 11:34 PM
Cc: The recipient's address is unknown.
Subject: How to make kernel release socket..
Hi Firends !
I try to implement server program for specific purpose.
If the server is killed, I found that the server can't binding again
the socket for about 1 min.
How to make kernel release socket, instantaneously, when the
In addition, when the client is died without closing socket,
I found that the server receive "SIGPIPE" and then server died..
How can we make the server ignore the "SIGPIPE" signal...
Thanks for any helps
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com