RE: How to make kernel release socket..

1998-04-03 Thread Lewis, James M.
You probably want to read about "setsockopt". In particular, the SO_REUSEADDR function. Install a signal handler to catch the SIGPIPE and do what you want. See "sigaction" and other signal man pages. jim -- From: Won-Ho Kye[SMTP:[EMAIL PROTECTED] Sent: Thursday, April 02, 1998 11:3

Re: How to make kernel release socket..

1998-04-03 Thread aqy6633
> 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 > process killed? > In addition, when the client is died without closing sock