Hi all,
I have just been playing with Net::Ping recently and have a few
questions that I need clarifing if any one has the time.
Firstly. I have a host using a 56k modem connection. When I ping these
servers using the ping object....
$p = Net::Ping->new("icmp");
If the server that is being pinged doesn't respond it generates an error
message. Then when I go and ping the supposedly failed server manually
from a command prompt it responds.
Does any one have any ideas as to why this is doing that?
I have tried changing the time out to the maximum but this doesn't seem
to work. With Net::Ping can I issue something that says...
OK ping this server 5 times and if the server resonds 1 or more times
out of the 5 then don't generate the error message. At the moment I
think with net ping it only pings a machine once. If it doesn't respond
then it sends and error message.
Any ideas would be greatly appriciated.
Kind regards,
Daniel Falkenberg
==============================
VINTEK CONSULTING PTY LTD
(ACN 088 825 209)
Email: [EMAIL PROTECTED]
WWW: http://www.vintek.net
Tel: (08) 8523 5035
Fax: (08) 8523 2104
Snail: P.O. Box 312
Gawler SA 5118
==============================
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]