On Mon, 16 May 2005 11:43:09 +0200 Jeremie Le Hen <[EMAIL PROTECTED]> wrote:
> Hi Sebastien, > > On Fri, May 13, 2005 at 07:17:05PM +0200, Sebastien Petit wrote: > > [...] > > as a side note, you may wish to use the kqueue(2) framework to watch > at link stat changes. The main advantage is that it will change the > way it works from a polling model to a notification model. One major > drawback in your situation (portable software) is that kqueue(2) only > exists in BSD world, not in Linux. > Hi Jeremie, As I can see in kqueue man, I can only monitor events by file descriptor (read/write), a process id, a signal or a timer (under NetBSD 2) How I can use it for monitoring link status change on a network card ? Regards, Sebastien. -- [EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
