Hi Ivan, Does the example at http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application help? Specifically, in that example, "session.peername" is the remote DNS name, but you can place a (string-formatted) IP address in that field as well.
Bill On Wed, Sep 15, 2021 at 5:27 PM Иван Иванов <tirjo...@yandex.ru> wrote: > I write some soft for network work with snmp. We have device with snmp > server and whant to work with it via snmp lib. Now i have got some problem > with work you snmp applications. I want to make snmpset and snmpget > programs on the local host, transfering conection to server on device. The > question is : where i should put ip adress of the snmp server and port for > remote host. Can you make simple example about it, and it's will be nice if > you will add this information to the documentation for you tools. > > > > All the best, Ivan Ivanov. > > > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders >
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders