On Sun, 1 Dec 2002 07:55:04 +0200
Ira Abramov <[EMAIL PROTECTED]> wrote:
> that sendmail as a user process, manages it's own TCP connection timeout
> when that's a kernel thing. I'm no great programmer, but I think
> creating a TCP connection is a blocked call and the timeout is fixed in the
> kernel.
Just a fragment from my sendmail.cf:
# timeouts (many of these)
#O Timeout.initial=5m
O Timeout.connect=1m
#O Timeout.aconnect=0s
#O Timeout.iconnect=5m
You are right that TCP connection (and read as well) are blocking,
however there are many techniques for applying timeouts (e.g:
alarm(2)).
This of course doesn't prove/disprove the story.
----------------------------------------------------------------
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED] http://www.actcom.co.il/~oron
"Don't worry about what anybody else is going to do.
The best way to predict the future is to invent it."
-- Alan Kay
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]