tags:

views:

11

answers:

0

How to understand the " the list of endpoint entries "

and these codes:

tcp::resolver resolver(io_service);
tcp::resolver::query query(address, port);
accepter_.reset(new tcp::acceptor(io_service, *resolver.resolve(query)));

http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/reference/ip__basic_resolver/resolve/overload1.html