3 ms·
Any sensible code is going to have to do that stuff whether the machine's endianness matches IP's or not, though. It happens on BE boxes too. It's either that o
by smorrow 11y ago
Any sensible code is going to have to do that stuff whether the machine's endianness matches IP's or not, though. It happens on BE boxes too. It's either that or write completely different code for different CPUs.
- JoeAltmaier 11y agoThe OPs point was, there are essentially no more BE boxes.
- limeyx 11y agoNot for networking...ntohl/htonl and friends are no-ops (macros) on BE machines ... zero overhead