winsocks connection timeout
-
Hi, I'm trying to work out how to set a connection timeout for winsocks without using MFC. (With MFC you just set m_nTimeOut to the required timeout in ms before you call Connect()). I know you can use setsockopt to set the send and receive timeouts, but is there any way to set the connection timeout? Many thanks, Peter Pearson
-
Hi, I'm trying to work out how to set a connection timeout for winsocks without using MFC. (With MFC you just set m_nTimeOut to the required timeout in ms before you call Connect()). I know you can use setsockopt to set the send and receive timeouts, but is there any way to set the connection timeout? Many thanks, Peter Pearson
I know you can use setsockopt to set the send and receive timeouts, but is there any way to set the connection timeout? This isn't really a winsock question but more a common sockets question, isn't it? If setsockopt works, why do you want to find another way to do it? Maybe there is some obscure WSA* function to do it, but why bother? /Mike