h3x has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use Getopt::Std; use IO::Socket; use Net::SNMP; --------------------- my $remote = $opt_t; my $community = $opt_c || "public"; my $port = $opt_p || 161; my $snmpver = $opt_v || 1; my $retries = $opt_r || 2; my $timeout = $opt_T || 40; my $timeout = $opt_T || 40;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Socket time out too small
by erroneousBollock (Curate) on Oct 24, 2007 at 07:09 UTC | |
by h3x (Acolyte) on Oct 24, 2007 at 07:38 UTC | |
by erroneousBollock (Curate) on Oct 24, 2007 at 08:01 UTC | |
by bloonix (Monk) on Oct 24, 2007 at 12:39 UTC | |
|
Re: Perl Socket time out too small
by TOD (Friar) on Oct 24, 2007 at 11:31 UTC | |
by h3x (Acolyte) on Oct 25, 2007 at 08:43 UTC |