31 Aug 00:40
Re: [Boost.Asio] service_name/port inconsistency
Boris <boriss <at> web.de>
2008-08-30 22:40:43 GMT
2008-08-30 22:40:43 GMT
On Sat, 30 Aug 2008 23:29:20 +0200, Vjekoslav Brajkovic <balkan <at> cs.washington.edu> 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
RSS Feed