|
Boost Users : |
From: Boris (boriss_at_[hidden])
Date: 2008-08-30 18:40:43
On Sat, 30 Aug 2008 23:29:20 +0200, Vjekoslav Brajkovic
<balkan_at_[hidden]> wrote:
> [...]a) What is the point passing endpoint_type, when we know for sure
> that
> endpoint will only accept address which *cannot* be a FQDN. What do we
> achieve by doing this?
If I'm not mistaken it's basically a wrapper for getnameinfo().
> b) To be more precise: How come basic_resolver_query does not take
> unsigned short as a parameter for service/port?
I don't know why but you can pass a port number by converting it to a
std::string.
Boris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net