Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around an issue where getaddrinfo() returns duplicate entries
This commit works around an issue where getaddrinfo() can return duplicate entries on some systems, causing bind() to fail when it attempts to listen on the same address/port more than once. Thanks go to Colin Watson for reporting this issue and suggesting a fix.
- Loading branch information