socket is being created on blocking mode, so there is no other poll() on socket, because in blocking mode, connect() function is waiting for establish TCP connection to server and return only when connection is established or unable definitely. I am not able to verify scenario in blocking ...
When you set timeout to 0 (which means by manual indefinitely), the socket bahaviour is different, socket is being created on blocking mode, so there is no other poll() on socket, because in blocking mode, connect() function is waiting for establish TCP connection to server and return ...