[Top] [All Lists]

Re: [PATCH] connect() return value.

To: glee@xxxxxxxxxxxxxxx (Geoffrey Lee)
Subject: Re: [PATCH] connect() return value.
From: kuznet@xxxxxxxxxxxxx
Date: Wed, 14 Aug 2002 21:25:39 +0400 (MSD)
Cc: davem@xxxxxxxxxx (Dave Miller), netdev@xxxxxxxxxxx
In-reply-to: <20020814045755.GB32315@xxxxxxxxxxxxxxxx> from "Geoffrey Lee" at Aug 14, 2 02:57:55 pm
Sender: owner-netdev@xxxxxxxxxxx

> So, in the near future, we can expect Linux to not return 0 for
> non-blocking connects (i.e. the change you mentioned)?

I wanted, but I changed my opinion about this. It is pretty strange to mimic
behavior of solaris/tru64 and Co, which is really stinking.

So, despite of our current behavior is not perfect and even not
quite self-consistent, it is the best one. Well, and it does not
contradict to sus/posix.

So, connect() remains restartable, and it will return 0 on success
instead of EISCONN crap.


<Prev in Thread] Current Thread [Next in Thread>