in reply to Re: IP address - Converting between string and number
in thread IP address - long to dottedquad to long

Wow! Excellent (and nearly instant) advice! Thanks both of you.

My use of regex was based on a very narrow definition of dotted quad I needed at the time. I'm totally in favor of using inet_aton and inet_ntoa instead!
  • Comment on Re^2: IP address - long to dottedquad to long