----- Original Message -----
From: "Louis Selvon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 10:58 AM
Subject: Has anyone been successful at using the Net::Ping
module ??
>

>Hi:
>
>I have tried in vain to get the Net::Ping module to work, but
every single
>hostname I tried to ping using perl ping module is telling me
that the
>hostname is not alive.
>
>I have tried all tcp, udp, and icmp options with no luck.
>
>When I ping normally at the command line, tells me that
hostname is alive.
>
>Does the Net::Ping module actually work ??
>
>Louis.
I've been using it since ActivePerl build 509 (I'm at 628 now).
No problems.
Try something like:
$p = Net::Ping->new($protocol, $timeout) || die "Can't open new
ping with $protocol, $!";

This will at least let you know whether or not your "new" worked
or not.

ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to