[Sorry for the delay in responding to this]

On Fri, 2005-10-14 at 15:59 +0700, Luu Vo wrote: 
> I have taken a look at net-snmp readme.win32 and found that netsnmp.dll is
> only for use with Perl module. I was wondering whether I can use netsnmp.dll
> with my C/C++ application or I have to use the static version.

I'm no expert on Windows DLLs, but the main problems with shared
variables tend to arise in multi-threaded applications.  If all
of the SNML-related processing is handled in a single thread,
I would expect things to be reasonably safe.

Try it with the DLL version, and see whether things work properly.


> BTW, for the sake of minimizing code changes and impacts, should I use both
> CMU snmp and net snmp at the same time (i.e., CMU snmp for SNMPv1, v2c
> functionalities and net-snmp for SNMPv3 funtionalities).

That's up to you.
I wouldn't advise mixing two different toolkits within the same
application, but it should be perfectly safe to query a given
agent using clients written using both versions.

As far as extending the agent is concerned, I'd recommend choosing
*one* agent toolkit, and sticking with that.  By far the simplest!

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to