Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14267
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: Wed Aug 27 15:48:25 CEST 2025

Total time taken to generate the page: 0.05996 seconds