Subject: Re: connect() problems.
To: None <tech-kern@NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 05/17/2004 07:48:39
In article <18.104.22.168.2.20040516195546.04aeccd0@localhost>,
Matt Thomas <email@example.com> writes:
> At 02:34 AM 5/15/2004, firstname.lastname@example.org wrote:
>>Posix specifies that if a connect() call is interrupted, the connection
>>attempt shall not be aborted but instead be established asynchronously.
> In this case, wouldn't it be appropriate to return an errno of
> EINPROGRESS instead of EINTR?
AFAIK EINPROGESS is only valid for non-blocking connect() calls. But
blocking connect() calls can of course be interrupted by signals, too.
Matthias Scheler http://scheler.de/~matthias/