Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
5b1a6a4b
Commit
5b1a6a4b
authored
Jul 21, 2010
by
Martin Lucina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 42 - getaddrinfo() fails
parent
aedf3f80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
ip.cpp
src/ip.cpp
+2
-5
No files found.
src/ip.cpp
View file @
5b1a6a4b
...
...
@@ -289,11 +289,8 @@ int zmq::resolve_ip_hostname (sockaddr_storage *addr_, socklen_t *addr_len_,
// doesn't really matter, since it's not included in the addr-output.
req
.
ai_socktype
=
SOCK_STREAM
;
// Avoid named services due to unclear socktype, and don't pick IPv4
// addresses if we don't have a local IPv4 address configured.
// If this is failing for you on a host with only IPv6 connectivity,
// please contribute proper IPv6 support for all functions in this file.
req
.
ai_flags
=
AI_NUMERICSERV
|
AI_ADDRCONFIG
;
// Avoid named services due to unclear socktype.
req
.
ai_flags
=
AI_NUMERICSERV
;
// 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment