|
Boost : |
Subject: Re: [boost] Udp Socket
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2014-02-03 21:46:20
On Feb 3, 2014, at 1:41 PM, Marcel Raad <raad_at_[hidden]> wrote:
> â¢Â°o.O sαмι O.o°⢠<sami.haq99 <at> gmail.com> writes:
>> I am not using any asyn.connect or connect method in my program just
>> using "send_to" method
>> " socket.send_to(boost::asio::buffer(send_buf), receiver_endpoint);"
>> My requirement is to send data to multiple specified addresses and one of them might be not available at that time so program should keep sending
>> data to other available addresses but it terminates after throwing exception "host unreachable".
>
> You might want to use the send_to overload taking a
> boost::system::error_code& parameter which doesn't throw.
That's right. The option is to handle the exception.
> But the appropriate mailing list would be boost-users, this mailing list is about developing boost libraries.
We also don't top post and prefer real names in the sender info. See http://www.boost.org/community/policy.html for more info.
___
Rob
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk