Timout on Socket Connect for TCP/IP Connection

Does anyone know how to do a timeout on a socket connect? I set the send/receive timeouts, but this is different than the connect timeout. Researching the issue on google suggested creating a timer to check to see if it was successful and force a close if it wasn’t, but this would not be very elegant. It seems to me that there should be a timeout to configure somewhere… I just haven’t found it yet.

Thank you.

Unfortunately there is no adjustable connect() timeout for now. :frowning: