This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Increasing Socket Handshake Timeout

I am sometimes getting a -462 error when attempting to connect to a secure socket.

retVal = sl_Connect(iSSLSockID, ( SlSockAddr_t *)&Addr, iAddrSize); // this sometimes returns -462

// From the sockets.h file, -462 means handshake timed out

#define SL_ESECHANDSHAKETIMEDOUT              (-462)  /* connection timed out due to handshake time */

As the error clearly reports that the handshake is timing out. Is there anyway to increase the handshake timeout as I could not find it defined anywhere?

Glenn.