|
Boost Users : |
Subject: Re: [Boost-users] Incorrect parameters problem
From: Mathew Benson (mathew.benson_at_[hidden])
Date: 2009-10-29 22:43:12
Thanks. Now I feel dumb.
Sent from my iPhone
On Oct 29, 2009, at 6:10 PM, Michael Caisse <boost_at_[hidden]
> wrote:
> Mathew Benson wrote:
>> My project was compiling and executing, but I get an error now.
>> I'm not sitting at my desk right now, but I think it said
>> "Incorrect parameters" when I examine the error. Here's the
>> offending code:
>> boost::asio::io_service io_service;
>> using boost::asio::ip::udp;
>> udp::socket s(io_service, udp::endpoint(udp::v4(),
>> 0)); udp::resolver resolver(io_service);
>> udp::resolver::query query(udp::v4(), "127.0.0.1", 606);
>>
>
> udp::resolver::query query(udp::v4(), "127.0.0.1", "606");
>
>
> Regards -
> michael
>
> --
>
> ----------------------------------
> Michael Caisse
> Object Modeling Designs
> www.objectmodelingdesigns.com
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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