I have done a bit of searching and can't seem to find the answer I'm looking for, the only answers I could find were to use select to see if the socket had timed out which is what I am already doing.
What I want to know is there anyway to change the length of time before connect()
would timeout? I am currently using select()
which returns with errno
set to EINPROGRESS
until eventually returning with ETIMEDOUT
. Is there anyway I can change the amount of time it takes before this ETIMEDOUT
would occur? Currently it happens after about 60 seconds. I have tried adjusting the timeout value I pass into the select()
call however, this only affects how long it takes before select()
will time out.