Re: i/o in trasparente proxy??

From: Tai Jin <[email protected]>
Date: Fri, 27 Mar 1998 17:34:17 -0800

On Mar 27, 5:25pm, Duane Wessels wrote:
> What does select return if the connection failed?

Same thing, writable status.

> We call connect() again to find out if it is really connected
> (EISONN), or not (EINVAL).

Those are the correct errors which connect returns. I have yet to see
connect return EALREADY after select indicated the socket was writable.
Perhaps you can do a getsockopt(SO_ERROR) when this happens, but I'm
not sure if it will tell you anything.

...tai

-- 
Received on Fri Mar 27 1998 - 18:19:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:28 MST