News for hackers. Stuff that matters.
Re:The Byte Order Fiasco by ok123456 on Saturday May 08, 2021 @12:34PM (#27088610)
Or just use the functions in <arpa/inet.h> to convert from host to network byteorder?
Re:The Byte Order Fiasco by froh on Saturday May 08, 2021 @05:04PM (#27090668)
this! use hton/ntoh and be happy.

nitpick: the 64bit versions are not fully available yet, htonll, ntohll