简体   繁体   中英

Is async_receive_from always receive full message in handler?

In all samples I've found, I could not see any buffering. Does it mean that in handler I'm receiving always full message? Not chunked.
I can not find any answer on that in documentation.

Is boost::asio::ip::udp::socket::async_receive_from always receive full message in handler?

UDP can be fragmented on low OSI level, but in higher level it is not possible.

You dont need to worry about this, you always receive full datagram (or do not receive it at all).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM