Question

I cant tell, does boost asio handle endian?

Was it helpful?

Solution

Asio does convert things like port into network order. The conversion functions are not exposed as part of the official interface and are hidden in the detail namespace instead (e.g. boost::asio::detail::socket_ops::host_to_network_short).

OTHER TIPS

boost::asio::socket_'s do not perform any byte order conversion.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top