How could I get ASIO to resolve a domain name without supplying the port/service name?
As far as I know, ASIO requires a port number or service name while resolving. Why? How would I do something like nslookup example.com? And not supplying the service name simply makes ASIO generate the error "tcp::resolver: service not found".
(And other answers on SO didn't help. It resolved the name from an address. But I want the other way arround.)