Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Hex value of ip address why reversed?
by
tspacepilot
on 10/03/2018, 07:39:30 UTC
⭐ Merited by mattcode (1)
I admit that I'm not exactly sure what your context is or what you're looking at, but over the wire, IP addresses are encoded in big-endian format.  

If that's the kind of 'reversal' you're talking about, then I suggest you take a look at:

Code:
$ man 3 htons