Re: SNMP::MainLoop

"Rob Bloodgood" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
SNMP::MainLoop is written to run until SNMP::finish is called.  This is
usually done within a perl callback function.
Details are here:
http://search.cpan.org/~hardaker/SNMP-5.0401/SNMP.pm#Acceptable_callback_formats<http://search.cpan.org/%7Ehardaker/SNMP-5.0401/SNMP.pm#Acceptable_callback_formats>
.

< plug > An alternative is to use POE::Component::SNMP::Session, and make
all of your queries async (except for v3 authentication). < / plug > :-)

On Wed, Jul 30, 2008 at 2:49 AM, Vipin K <[email protected]> wrote:

> Hi....
>
> I wanted to know the detail use/functionality of SNMP::MainLoop. The
> problem I am facing is that when I run the perl script it goes in infinite
> loop at SNMP::MainLoop even though timeout is mentioned. I wanted to know
> when should we use SNMP::MainLoop and is there any replacement.
>
> Regards,
> Vipin
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.