Re: [htdig3-dev] Alarm clock

Subject: Re: [htdig3-dev] Alarm clock
From: Gilles Detillieux (
Date: Mon Feb 28 2000 - 09:38:11 PST

According to Geoff Hutchison:
> Hmm. The alarm isn't supposed to kill it! The alarm comes from here:
> Previously, people reported that the ::connect would never time out,
> or at least until the OS decided to kill off that socket (often quite
> long). So on the advice of a few people, I put in the alarm. Now I
> haven't used alarms too often--am I missing something?

A handler for SIGALRM? I believe the default action is to terminate the
process, so if that's not what you want, you need to set a handler for it.

You should probably take a look at how other TCP/IP clients handle this

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Mon Feb 28 2000 - 09:46:14 PST