29 May
2008
29 May
'08
8:41 p.m.
Hi,
In using the Boost.Asio library, the Udp::Socket->send_to() function throws an error if the endpoint is unreachable. I thought in udp datagrams its a send and forget mentality. The send_to function would send the message even if the endpoint was unreachable. Is there a setting I need to use for this to work?
Ryan
This probably means you don't have a route to the target host, so your kernel returns with error from local TCP stack without actually putting packet on the wire. Hope this helps. -- Nikolai