Subject: Re: connect() problems.
To: None <tech-kern@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-kern
Date: 05/17/2004 07:48:39
In article <6.1.0.6.2.20040516195546.04aeccd0@localhost>,
	Matt Thomas <matt@3am-software.com> writes:
> At 02:34 AM 5/15/2004, ragge@ludd.luth.se 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.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/