Boost logo

Boost Users :

Subject: [Boost-users] boost asio with scatter gather list and udp ....
From: jean-luc malet (jeanluc.malet_at_[hidden])
Date: 2013-08-29 11:54:05


Hi!
I'm new to boost, so I don't understand everything, be kind please ;)
I'm working on a piece of code that use boost::asio with a
ba::ip::udp::socket
the code is sending data using 2 buffers stored in a boost::array
my work is to write the receiver and my question is : how many udp packets
will be sent? 1? 2?
if multiple packets are sent, how does boost::asio will re-order them on
reception? if one packet is sent, and if on reception I use another scatter
gather list as above (but with mutable buffers) how does boost know the
size of the 2 buffers?
thanks and regards
MALET Jean-Luc

>



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