Displaying 1 result from an estimated 1 matches for "send_handshak".
Did you mean:
send_handshake
2006 Jan 31
0
adding a select or a poll?
...;ve been strugling with the fact that it would eventually connect on a
slow or moderely fast machine but not on a really fast machine.
According to Unixware doc, the FIRST connect ALWAYS returns -1 and
errno=EINPROGRESS
AFAICT, imap loop is like this:
while (1)
connect
if no error bu EINPROGRESS
send_handshake
if successfull
break;
end while
Now, I think the time between connect and send_handshake might be too
short for async connect to finish in most case.
I recognize is a Unixware probleme but I think this senario can happen on
any system that CAN set errno to EINPROGRESS.
I think the two possib...