Reputation:
I cant tell, does boost asio handle endian?
Upvotes: 9
Views: 3460
Reputation: 2617
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).
Upvotes: 11