2009/8/6 Alexander <alte...@rambler.ru>: > In application: > > session.peername = "localhost"; > session.localname = "localhost"; > session.local_port = 9161; > > _trap_session = snmp_open(&session); > > But _trap_session is not initialized (NULL).
What is the error reported by this failure? (See the documentation of "snmp_open()") What is the *full* code used to implement the trap_session? Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users