From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506600.tru64-unix-managers.marc@archive.invalid> From: David Bigagli Date: Sun, 19 Feb 1995 18:47:36 +0000 To: tru64-unix-managers Subject: SUMMARY socket & crash X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506600 Hi, I wrote: >we are writing tcp/ip applications using sockets. As usual we have a client > and a server. We observed that if the machine on which the client is running > crashes the socket on the server part remains connected as if nothing wrong > happend. This is a problem. Of course there are solutions to this but > we would like to know if this is normal behavior of sockets. > Another problem is that if server goes down our clients try to reconnect it > for sometimes and then is not possible to restart the server because > the port is busy (connection refused). Do you have any idea how to resolve > this?? Thanks to iglesias@draco.acs.uci.edu which suggested to use the setsockopt system call with SO_KEEPALIVE and SO_REUSEADDR options. David