Boost logo

Boost Users :

Subject: [Boost-users] ASIO: udp datagrams question
From: Jay Sprenkle (jsprenkle_at_[hidden])
Date: 2009-12-10 15:52:18


When using asio with an async udp connection can I assume I will always
receive a complete datagram or nothing at all?
If packets are lost I will get nothing.
If I get a data read callback I can assume the entire datagram has been
received and assembled (even if it consisted of multiple packets)?
Some of the underlying assumptions aren't clear from the documentation.

Thanks!

-- 
Cause united breaks guitars
http://www.youtube.com/watch?v=5YGc4zOqozo


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