In my application, I use gSOAP in a separate thread. The timeouts for connecting, sending and receiving are set to 10 seconds. When I want to stop the application (or just pause this thread to change some settings), I sometimes have to wait as long as 10 seconds (for example, when the IP is set to some kind of stupidity). How to avoid this? How can I tell (from another thread) the gSOAP proxy to abort the current operation?
source
share