How to stop gSOAP operations

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?

+3
source share
1 answer

IMHO, the trick is to manipulate the gSoap ( soap->socket) internal socket . You can look here, maybe this helps: http://markmail.org/message/dkghy2jtvasr6g5y .

, . , - gsoap-, , .

!

0

All Articles