[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bit more code...
From: |
Jamshed Kakar |
Subject: |
Re: Bit more code... |
Date: |
Wed, 13 Feb 2002 18:02:36 -0800 |
User-agent: |
Mutt/1.3.27i |
Hi,
> I was thinking about this on the walk home today. Should we create a
> libsnmp for encoding and decoding SNMP messages? That would make
> writing `snmpwalk', and other things pretty trivial (hopefully).
My thought had been to have an object, SnmpMessage, that encapsulated
everything there is to know about SNMP messages. I figured we could
put the logic to correctly decode munged MAC addresses and so on in
there. The other potential benefit to such an object would be that it
could be rebuilt from data in a SQL database, formatted text file,
etc. Not that I actually know what makes up an SNMP message... I do
plan on taking some time to dig through the various RFC's mentioned on
the radar web pages.
Take care,
Jamu.
--
Premature optimization is the root of all evil. -- Donald Knuth