Re: netsnmp_udp_create_XXX Api

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26 August 2010 07:52, sanjaykumar <[email protected]> wrote:
> Could anyone explain under what condition below API will called:
>
> 1. netsnmp_udp_create_tstring
> 2. netsnmp_udp_create_ostring


I believe that the 'tstring' routine is used when an SNMP target is
requested using a notation such as "udp:localhost:161"
This would probably also cover examples where the transport
prefix is implicit, so I suspect it would also be called for "localhost"

The 'ostring' routine is used when an SNMP target is requested
using OID-valued objects - such as when setting up a target via
SET requests to a MIB table.

Wes or Robert can now correct me....

Dave

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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.