On Tue, Dec 8, 2009 at 9:00 PM, Goutham BG <[email protected]> wrote:
> > 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* > * > > I tried with session.peername set to udp:47.152.236.77:159. But no success. As earlier, it is able to send trap for the 1st time. After that snmp_add fails throwing an error "*No support for any checked transport domain*". Please suggest any solution (may be any procedure call to re-initialize the transport domain? ) for this problem. 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
