On 29. august 2011 17:55, [email protected] wrote:
> 
> Hi,
> 
> I am using net-snmp version 5.3.3 and using the following APIs to send PDUs, 
> 
> (1) snmp_sess_init
> (2) snmp_open
> (3) snmp_pdu_create
> (4) snmp_send
> 
> Is there any way to return socket fd, which is used to send PDUs for the 
> session. My application is already maintaining the list of fds opened for 
> other purpose. I want to add netsmp socket fd into that list. My application 
> polls the list of fds. So that snmp response comes then netsmp fd will hit 
> and the application will process it. 
> 
> I am beginner for netsnmp tool.  I appreciate your help.
> 
> Sundar

I do not think this is part of Net-SNMP package so we have used the attached 
patch to achieve this.

Eirik Nordbrøden, Morecom A/S
(+47) 90174789

Attachment: net-snmp-5.5.patch
Description: net-snmp-5.5.patch

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to