Title: timeout - non blocking mode

Hi,

I have intention to add timeout to SSL_connect. I  want to use socket in non blocking mode, and possibly to use Select  instruction.  I want to timeout connect call, and the problem is that  I do not know how to use  non blocking or asynchronous semantics so to close the sockets when I chose not wait any more. In fact what I need is to know how  to change socket from default blocking to non blocking mode.

I did read some posts from this mail group relating to timeout - connect problem  where it was suggested using setsockopt with SO_RCVTIMEO, but it did not work for me (win 2000 and NT - winsock 1.1).

I will appreciate if someone could give me  advice where to find infromation relating to that.

Alex Cosic

 

Reply via email to