Hi Dave,

Thanks, that's also what I thought, the question is which one is the config
directive handler for config trap receiver's ip address?

Would you pls. tell me, thanks very much.

Li

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Wednesday, August 23, 2006 4:04 PM
To: Li Gan
Cc: [email protected]
Subject: Re: how to set trap receiver's ip address in code for embedded
system

On 23/08/06, Li Gan <[EMAIL PROTECTED]> wrote:
> For our embedded system, no .conf files are used, how can I set the ip
> address of the trap receiver in the code?  Thanks.

The easiest approach would probably be to hardcode a call to the
relevant config directive handler - passing in the appropriate text
string, as if it had been read from a config file.

Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to