On Sunday 14 April 2002 23:18, V13 wrote: > If it returns -1 then you select() this fd for write. Correction: If it returns -1 and errno==EINPROGRESS then you select the fd for write. return==-1 and errno!=EINPROGRESS means that connect() failed. In that case select() should not be used for this fd (it will return error). <<V13>>