Boost logo

Boost Users :

Subject: [Boost-users] [asio] boost::system::error::success passed to handler
From: Nick Milkovits (nmilkovits_at_[hidden])
Date: 2008-09-22 12:10:27


Hi,

I am working with the mulitcast receive example from
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/example/multicast/receiver.cpp.
The issue I am having is that every time I receive a packet it gets
printed as expected but the receive handler is then called again and
this time the if (!error) test fails. Printing the error always gives
the message 'Success'. This seems a bit unusual and I am wondering if I
there is a way to have the library not generate these success error
messages or if I will have to handle getting a success error after every
time I receive a packet?

Thanks in advance,

-- 
Nicholas Milkovits
Software Engineer
Acquire Media
3 Becker Farm Rd, Suite 401
Roseland, NJ  07068
973-577-1237

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