logo       

Re: [PATCH] connect() return value.: msg#00073

Subject: Re: [PATCH] connect() return value.
Hello!

> 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.

Alexey




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