Post
Topic
Board Development & Technical Discussion
Re: Hex value of ip address why reversed?
by
wsxdrfv
on 11/03/2018, 07:03:02 UTC
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

so at net.cpp, unsigned int pnSeed[] = {  0xee257eaf  }

If my real IP address is 175.126.37.238 and this address should be input above, then 0xee257eaf   is correct? Internet site hex to ip
https://www.browserling.com/tools/hex-to-ip
shows this 0xee257eaf  is 238.37.126.175