$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-08-17 21:03:09
Hi Chris,
christopher baus <christopher_at_[hidden]> wrote:
> Then I tried:
>
> ip::tcp::resolver::query query("foobar.com", "");
>
> But that failed.
>
> The getaddrinfo() function allows for the service string to be
> null, but there doesn't seem to be a way to achieve that with
> the asio interface (again unless I'm missing something).
That needs to be fixed. Thanks for pointing it out. For now you
could use:
ip::tcp::resolver::query query("foobar.com", "0");
instead to get the same effect.
Cheers,
Chris