Re: C++ wrap for net-snmp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]


On 12/02/2008, Marco Catunda <[email protected]> wrote:
> I forgot to mention that the only stuff I feel missing is feasibility to set
> reqid instead of ramdom choice, with it, I can do unit test more realiable.

See   snmplib/snmp_api.c:_init_snmp()
Remove the block of code starting "#ifdef SVR4" to suppress random
request and message IDs.

If you want to set a specific request ID, you can do this in the
PDU structure directly.   The library-supplied ID is set as part of
creating the PDU, so if you change this field, that new value is
what would be used.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.