|
Boost Users : |
Subject: Re: [Boost-users] Use of socket
From: Igor R (boost.lists_at_[hidden])
Date: 2009-01-22 11:32:26
>
>
> udp::resolver resolver(io_service);
> udp::resolver::query query(udp::v4(), argv[1], "daytime");
> udp::endpoint receiver_endpoint = *resolver.resolve(query);
>
> udp::socket socket(io_service);
> socket.open(udp::v4());
>
>
> But, to send something else than a Daytime request, I need to know what are
> the avalaible option to put instead of "daytime" in this line :
>
>
> udp::resolver::query query(udp::v4(), argv[1], "daytime");
>
>
udp::resolver::query query(udp::v4(), "192.168.1.10", "8080");
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