2009/12/8 Goutham BG <bggout...@gmail.com>:
> 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"

Dave

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to