Re: code architecture documentation

2007-11-28 Thread Dave Shield
On 28/11/2007, MEHMET ALI EKICI <[EMAIL PROTECTED]> wrote: > I am trying to understand how do snmptranslate, snmpget .. set > and snmpd work. I suggest you start with snmpget. It's probably the simplest of the command-line tools. snmptranslate is something of a special case, in that it doesn't ac

RE: code architecture documentation

2007-11-28 Thread MEHMET ALI EKICI
I am trying to understand how do snmptranslate, snmpget .. set and snmpd work. As I understand they have a common code part. They configure some parts of global settings? Command line parameters are used to alter the way the tools behave etc etc? What has to be configured before using libraries?

Re: code architecture documentation

2007-11-28 Thread Dave Shield
On 28/11/2007, MEHMET ALI EKICI <[EMAIL PROTECTED]> wrote: > Do you know any document or guide describes architectural working of > net-SNMP ? Nothing comprehensive, no. Have a look at the file AGENT.txt, and the documentation on the website (and Wiki site). It might be a bit easier to advise you

RE: snmpset problem

2007-11-28 Thread Eirik Nordbrøden
Hello The variable requests->requestvb->val.string is not '\0' terminated string so you cannot use strlen(). You must use requests->requestvb->val_len to determine the length of the data. Eirik Nordbrøden, moreCom A/S (+47) 90174789 From: [EMAIL PROTEC