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++ MT-multithreading and servers » Warning in Socket.cpp
Warning in Socket.cpp [message #36131] Wed, 02 May 2012 09:19 Go to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Mirek

In Socket.cpp line 37, int sGetAddrInfo(...) returns a NULL. However it would have to return 0 if it succeeds or an error code. In that situation the returned code seems that would have to be EAI_NONAME.


Best regards
IƱaki
Re: Warning in Socket.cpp [message #36138 is a reply to message #36131] Thu, 03 May 2012 08:33 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 02 May 2012 03:19

Hello Mirek

In Socket.cpp line 37, int sGetAddrInfo(...) returns a NULL. However it would have to return 0 if it succeeds or an error code. In that situation the returned code seems that would have to be EAI_NONAME.


Thanks, you are correct.

Mirek
Previous Topic: What is the status of IPv6 support?
Next Topic: Problem with includes in Socket.cpp and Web.h
Goto Forum:
  


Current Time: Fri Mar 29 09:16:20 CET 2024

Total time taken to generate the page: 0.01227 seconds