Update of /cvsroot/boost/boost/boost/asio/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31877

Modified Files:
        socket_ops.hpp 
Log Message:
Add support for the non-POSIX getaddrinfo errors EAI_NODATA and
EAI_ADDRFAMILY.


Index: socket_ops.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/socket_ops.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- socket_ops.hpp      21 May 2007 13:05:06 -0000      1.14
+++ socket_ops.hpp      31 Jul 2007 11:32:49 -0000      1.15
@@ -1505,6 +1505,12 @@
   case EAI_MEMORY:
     return boost::asio::error::no_memory;
   case EAI_NONAME:
+#if defined(EAI_ADDRFAMILY)
+  case EAI_ADDRFAMILY:
+#endif
+#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
+  case EAI_NODATA:
+#endif
     return boost::asio::error::host_not_found;
   case EAI_SERVICE:
     return boost::asio::error::service_not_found;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to