What a novel idea :)

And the problem was, I forgot to ntohl the host first...


Justin Mason wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Darryl Bleau writes:
Is the correct translation of:

http://1113343453

221.69.92.66

or

66.92.69.221

?

I ask because decode_ulong_to_ip gives the second, but inet_ntop gives the first. I'm not a networking expert here so I don't know which is correct and I don't want to file a bug if nothing is broken.

The latter.  try it out in a browser ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFDPHgqMJF5cimLx9ARAhJLAJ4181QuRArmV8oREhHi5d/l52nvrQCgkMDm
O/2UeYZGdVY52tNNFylxTO0=
=lo5V
-----END PGP SIGNATURE-----





Reply via email to