tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY socket & crash
@ 1995-02-19 18:47 David Bigagli
  0 siblings, 0 replies; only message in thread
From: David Bigagli @ 1995-02-19 18:47 UTC (permalink / raw)
  To: tru64-unix-managers


 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-19 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-19 18:47 SUMMARY socket & crash David Bigagli

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