New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent resolveHost() param #430

pszturmaj opened this Issue Dec 7, 2013 · 0 comments


None yet
1 participant

pszturmaj commented Dec 7, 2013

In there's resolveHost() with use_dns param which is passed as is to driver's resolveHost() taking no_dns param.

Quick fix would be:

NetworkAddress resolveHost(string host, ushort address_family = AF_UNSPEC, bool use_dns = true)
    return getEventDriver().resolveHost(host, address_family, !use_dns);

but I guess you may want to change the driver's function signature instead, or fix it in different way.

@s-ludwig s-ludwig closed this in d49f615 Jan 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment