diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-29 09:41:50 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-29 09:41:50 +0200 |
commit | 6996ef6f1a0a50a754608df9444e425d0900b143 (patch) | |
tree | 334a30e95fd68fa46e8536eece55c5fdd7dda15e /src/ip.cpp | |
parent | cb09c6951e2c4405318b422a1f9213af3e4b6b8a (diff) |
improved error handling
Diffstat (limited to 'src/ip.cpp')
-rw-r--r-- | src/ip.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -285,7 +285,8 @@ int zmq::resolve_ip_hostname (sockaddr_in *addr_, const char *hostname_) // Separate the hostname. std::string hostname (hostname_, delimiter - hostname_); - // Resolve host name. + // Resolve host name. Some of the error info is lost in case of error, + // however, there's no way to report EAI errors via errno. addrinfo req; memset (&req, 0, sizeof (req)); req.ai_family = AF_INET; |