logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Help: socket IO within agent: msg#00174

Subject: RE: Help: socket IO within agent
Bingo!  That's what I am looking for.  Thanks.  

I noticed there is a limitation of 32 file descriptors you can add.
Hope
it is not all used up yet. 

------------------------------------------------------------------------
Yixiong Zou (yixiong.zou@xxxxxxxxx)
(503) 677-4988

All views expressed in this email are those of the individual sender.  

> -----Original Message-----
> From: Dave Shield [mailto:D.T.Shield@xxxxxxxxxxxxx] 
> Sent: Friday, November 21, 2003 1:17 AM
> To: Zou, Yixiong
> Cc: net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Help: socket IO within agent 
> 
> 
> > I am implementing the ipv6RouterAdvertiseTable in the new 
> IP mib.  But
> > to do that I will have to open a socket and listen for 
> icmpv6 "Router
> > Advertisement" packets.  How do I do that within the agent api?  Is 
> > there a way to add a socket or file descriptor to the main agent 
> > select() loop? 
> 
> Yes - see the routine 'register_readfd' (in 'agent_registry.c')
> 
> 
> Dave
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>