On Feb 3, 2014, at 1:41 PM, Marcel Raad
•°o.O sαмι O.o°•
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)