asio-tr2
asio-tr2 copied to clipboard
Strongly consider removing basic_resolver_query and just have more overloads of resolve/async_resolve
Applied in 16bb905a247318bb9a2af75bc98189c2d14bdf41.
Pre-Lenexa Summary
Even though it multiplies the number of overloads required, I like this change. It makes the mapping from resolve/async_resolve to getaddrinfo() clearer.
However, to avoid a further doubling in the number of overloads, unlike basic_resolver_query the new resolve and async_resolve functions do not provide separate overloads for the "passive" case.
This wording was included in revision 5. An implementation can be found on the master branch of Asio's GitHub repository.