U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » [Solved]XML Rpc client will halt when server is not running
Re: XML Rpc client will halt when server is not running [message #36620 is a reply to message #36619] Thu, 21 June 2012 09:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
This is wrong solution. Win32 regulary returns WSAENOTCONN when connection is in progress.

I guess the real problem is that we are here simulating blocking sockets using non-blocking behaviour. Win32 seems to give up connect in blocking mode after 21 seconds. So the correct solution is perhaps to simulate this special timeout as well - done, please check.

(You can also decrease the timeout using Timeout).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What`s the corect way to use TimingInspector?
Next Topic: How to add 6 months to a date?
Goto Forum:
  


Current Time: Sun Apr 26 20:49:10 GMT+2 2026

Total time taken to generate the page: 0.00610 seconds