On 2 August 2010 11:41, Julian Cebulla <cebu...@ferrari-electronic.de> wrote: >>> I have debug code in my MIB handler but there is nothing like an error. > >>What debug code do you have in this routine? >>What is displayed when the GET request gets passed over? > > I’ve get only debug code at these routines: > > netsnmp_ds_set_string() > init_agent()
But *WHAT* debug code do you have? There's no point in us trying to guess - please post the code of your handler routine. What you need (at the very least) is a debug statement at the start of your handler routine, which will indicate whenever it is called. And possibly debug statements at other significant points throughout the processing, so you can trace the flow of control. These probably won't be part of the initial template. You will need to add them to the code yourself. > In my Subagent I call sometimes the routine “Sleep()” > but only with a value of between 2 and 5 (Milliseconds). $ man 3 sleep SYNOPSIS unsigned int sleep(unsigned int seconds); DESCRIPTION sleep() makes the calling process sleep until 'seconds' seconds have elapsed.... So no - the argument to 'sleep()' is in seconds, not milliseconds. (You'd use 'usleep' for finer-grained delays) 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://p.sf.net/sfu/dev2dev-palm _______________________________________________ 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