I am developing client which is based on gSOAP. Before sending the connect request(i.e soap_connect() call )to Server, I am setting soap.connect_timeout = 10 sec. If server is taking more than 10 sec to accept the connection request from client then my Client should raise the exception saying "connectTimeout" has occured.
Could you please tell me how do I simulate this scenario.
Does gSOAP support connect_timeout??
Note: I am putting server in sleep mode for 20 sec and then sending the connect request from Client.In this case I am excepting Timeout but it is not happening.