Hi,
I'm testing some code that connects & sends data to a server on the network, but when I test connecting to a non-existing server I have to wait a long time before it returns an error about not being able to connect to the server.
To speed up my testing, is there a way to lower the timeout before connect() returns an error?
I'm testing some code that connects & sends data to a server on the network, but when I test connecting to a non-existing server I have to wait a long time before it returns an error about not being able to connect to the server.
To speed up my testing, is there a way to lower the timeout before connect() returns an error?