Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Ping a Server

by OzzyOsbourne (Chaplain)
on Apr 28, 2004 at 12:40 UTC ( #348801=note: print w/replies, xml ) Need Help??


in reply to Ping a Server

my $IP=&resolve('Server'); print "$IP\n"; sub resolve(){ my $check=join('.',(unpack("C4", gethostbyname($_[0])))); return $check; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348801]
help
Chatterbox?
Discipulus I'd rather say good weak start..

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2018-05-28 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?