I'm trying to make a connect timeout, and i have implemented this by starting a timeout thread. This works well, but throws an exception.
How can i terminate the connection attempt, and return SOCKET_ERROR?
I'm trying to make a connect timeout, and i have implemented this by starting a timeout thread. This works well, but throws an exception.
How can i terminate the connection attempt, and return SOCKET_ERROR?
Solved my problem, thanks!