On 29/09/2007, Hans Yang <[EMAIL PROTECTED]> wrote:
> I used the net-snmp library (in Mac OS X) to develop an SNMP program
> which can do the snmpget and snmpset (all through UDP packets). It
> works fine. However, my boss asked me to modify it to use TCP
> connection.

Specify the destination string as "tcp:host" instead of "host".
The library will handle this automatically.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to