From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [LIBNFNETLINK] Introduce nfnl_listen_for_msecs Date: Tue, 07 Feb 2006 15:33:51 +0100 Message-ID: <43E8AFCF.5040604@eurodev.net> References: <43E7FC3A.4050209@eurodev.net> <43E8A810.6010108@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Harald Welte , Netfilter Development Mailinglist Return-path: To: Patrick McHardy In-Reply-To: <43E8A810.6010108@trash.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Patrick McHardy wrote: >>The patch attached introduces a new function called >>nfnl_listen_for_msecs. This is useful for polling netlink events. > > Can you give an example how this is going to be used? A program waits for some specific event, if it doesn't happen in a given period of time, it gives up. -- Pablo