Re: Problem in init_snmp in visual c++ (and Qt)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 27 December 2010 12:34, Ramesh Kumar <[email protected]> wrote:
> Do you mean to say input to init_snmp is name of executable.

The normal convention is to pass the name of the executable as the
argument to init_snmp(), yes.   But you can actually pass whatever
name you like - it's really only used to determine which config file(s)
to read.


> Also what happens, if foo.conf is not found?

Then the library won't read any configuration settings.
This isn't a problem - it won't typically be regarded as an error.

Dave

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.