On 28 July 2010 12:46, Gaurav Chaturvedi <gauravchaturve...@gmail.com> wrote: > 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.
I suggest that you post the code of your test program, so that someone who knows more than me about the transport mechanism can give it a whirl, and see if they can spot the problem. 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users