udp - What is the advantage of using the mutable buffer objects in boost ASIO compared to char arrays? -


I am designing / developing a UDP server application and planning for promotion. What are mutable buffer objects for standard four arrays and what is the benefit of this?

Use fixed length buffers such as boost :: arrays when you know the priority, how much data you get Or Expect to send ASIO Streambuffs You can get data in an unknown quantity Specifically, async_read_until requires you to use streambuffs.


Comments

Popular posts from this blog

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -