Re: Python3 bindings

2016-03-18 Thread Gabe
Hi David, Glad to see some shared interest in this! I've made a lot of updates to my project since my posting to the mailing list, including Python 2 (tested with 2.7 at least) support. The only thing I needed to add to facilitate both Py2 and Py3 functionality was add a macro in the C code to

Re: Unresolved hostname

2016-03-18 Thread Niels Baggesen
On Thu, Mar 17, 2016 at 01:03:07PM +0200, Ruth Glushkin wrote: > but when I run agent(s), I got the following error: > > cannot resolve source hostname > > > If I remove the port from config file and run agent, it works. > > How could I set different ports for agents? You use the agentaddress

Re: Python3 bindings

2016-03-18 Thread David Hankins
Hi Gabe, I'm also working on improving the python bindings (tho I'm not targeting python 3 specifically, I'm trying to be future proof there); https://sourceforge.net/u/hcf64/net-snmp/ci/python_api/tree/python/ My approach was also a little different; I made the new python bindings (snmp_api.c)

Re: perl 5.23.2+ and net-snmp don't get along

2016-03-18 Thread Magnus Fromreide
On Wed, Mar 16, 2016 at 01:33:14PM -0400, Robert Story wrote: > On Wed, 16 Mar 2016 12:28:14 -0400 Bill wrote: > BF> > > > I think this needs some discussion. While the change does > BF> > > > not affect binary compatibility, it does remove a typedef > BF> > > > that has been around since 1998.