tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: David Bigagli <david () naxos ! caspur ! it>
To: tru64-unix-managers
Subject: SUMMARY socket & crash
Date: Sun, 19 Feb 1995 18:47:36 +0000	[thread overview]
Message-ID: <96075317506600.tru64-unix-managers.marc@archive.invalid> (raw)


 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

                 reply	other threads:[~1995-02-19 18:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox