Help for this page

Select Code to Download


  1. or download this
      if ($self->{"proto"} eq "udp")              # Open a socket
          ...
    ...
          $self->{func} = \&ping_icmp;
      }
    ...
    
  2. or download this
    sub ping
    {
    ...
    
      return wantarray ? ($ret, &time() - $ping_time, $self->ntop($ip)) : 
    +$ret;
    }
    
  3. or download this
    sub ping
    {
    ...
    
      return wantarray ? ($ret, &time() - $ping_time, $self->ntop($ip)) : 
    +$ret;
    }
    
  4. or download this
    sub ping
    {
    ...
    
      return wantarray ? ($ret, $ping_time, $self->ntop($ip)) : $ret;
    }