SPUG: I must be missing something with Net::Ping

Alyssa Harding alyssa at atuin.net
Mon Oct 8 21:32:37 CDT 2001


Mark Yocom wrote:

> Maybe it's just me, but when I do 'perldoc Net::Ping', it says that the
> default protocol is UDP, not ICMP.
> 
> Do you get the same results if you explicitly set the protocol used?
> 
> my $p = Net::Ping->new('icmp');
> 


Okay, sorry default Net::Ping protocol is UDP but I get the same result 
using:
my $p = Net::Ping->new('icmp');

A.

-- 
Alyssa Harding
http://www.atuin.net/~alyssa
-------------------------------------------------------------------
Nanny Ogg quite liked cooking, provided there were other people around to
do things like chop up the vegetables and wash the dishes afterwards.
         -- Home Pragmatics
            (Terry Pratchett, Witches Abroad)



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list