On 28/11/2007, <[EMAIL PROTECTED]> wrote: > main_session = snmp_add_full(&def_sess, ptp_tr, NULL, ptpagentx_parse, > NULL, NULL, NULL, ptpagentx_checkpacket, NULL);
The seventh parameter is the routine called to encode the request into a data packet - ready for sending out over the network. If you are supplying your own 'ptpagentx_parse' code, then you'll need a corresponding 'ptpagentx_build' routine to handle this step. > Can you send any functional piece of code? See mibgroup/agentx/subagent.c:subagent_open_master_session() Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
