Re: SNMPv3 support in SNMP trap daemon software
Gaurav Chaturvedi <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Actually, if I am using the same handle everytime, then while calling "connect", fd_set contains the same ID for 4 sessions and count=4 (e.g. for 4 sessions). And the result is that: "snmp_read" doesn't return (till we receive 4 packets in this example) to call connect again. I am assuming that this is the root cause of problem that if I am sending SNMPv2 traps, the callback is called for the first time (because its session is 1st in the session list) and then no action for next 3 times. Then again, callback is called and no action for next 3 times and so on.. Please suggest. Thanks Gaurav On Wed, Jul 28, 2010 at 5:00 PM, Dave Shield <[email protected]>wrote: > On 28 July 2010 10:54, Gaurav Chaturvedi <[email protected]> > wrote: > > I am using function: > > transport = netsnmp_tdomain_transport(port, 1, "udp") > > Here, port is same always = 162 (or anything entered by user) > > > > But, it returns valid pointer only on 1st call. After that, it always > > returns NULL, > > a) What is reported if you enable the debug token "tdomain" ? > > b) If the port is the same every time, do you actually need to > call netsnmp_tdomain_transport every time? Why not > simply reuse the transport domain handle for each session? > > Dave > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ 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