> In the section "Non-blocking connect" of the OS X manual page tcp(4), the > description about possible return values of select() is not clearly given for > the case in question.
I think that sentence does not negate the meaning of the return value of select() (i.e. the number of ready descriptors, or -1 (error) ). > So I did check the return value and made sure that select() returned 0 if it > was called after connect() returned < 0 and set EINPROGRESS. > > > Believe or not, that was why I included the condition ret == 0. Thank you. - Ozaki Kiichi -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
