On Tue, Dec 8, 2009 at 8:52 PM, Dave Shield <[email protected]>wrote:

> 2009/12/8 Goutham BG <[email protected]>:
> > 9. // Open a SNMP session
> >    ss = snmp_add(&session,netsnmp_transport_open_client("snmptrap",
> >                session.peername), NULL, NULL);
>
>
> > What value does session.peername actually have?
> > Try something like    "udp:127.0.0.1"
>
>
> Thanks. I will try that.

session.peername is set to IP address:port number.
For example --- 47.152.236.77:159*
*

Thanks
Goutham B G
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to