A resolve handler must meet the requirements for a handler.
h of a resolve handler
class should work correctly in the expression
ec is an lvalue of
r is an lvalue of type
is the template parameter of the
ip::basic_resolver<> which is used to initiate
the asynchronous operation.