On 28 July 2010 10:54, Gaurav Chaturvedi <gauravchaturve...@gmail.com> 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 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