in reply to Pinging.

Ping doesn't use a port. I would not expect to have the monks almost read the script for you - just appreciate when they give you a good hint. Please don't abuse it. ---- To me, boxing is lake ballet. Except there's no music, no choreography and the dancers hit each other.

Replies are listed 'Best First'.
Re: Re: Pinging.
by Beatnik (Parson) on Aug 08, 2002 at 16:00 UTC
    That's like saying, Sharks dont eat people. Some sharks do, some sharks don't. If I'm not mistaking, there are several kinds of Pings. There's an UDP Echo port (port 7) that can be used for pinging, plain Ping is over ICMP, etc. I think Net::Ping supports 3 types of pinging, being ICMP, UDP and TCP pings. But there are ofcourse dozens of other ways to detect if a host is online.

    Greetz
    Beatnik
    ...Perl is like sex: if you're doing it wrong, there's no fun to it.