in reply to Validating IP Address

Why not just connect to what you're given and see if it works? Then you can take IP6 addresses, random DNS names, things that appear in /etc/hosts but don't resolve via dns, hosts on NIS+.

The world is your Soyster!

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;