Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 11:43:09 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Sebastien Petit <spe@phear.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: SIOCGIFMEDIA problems
Message-ID:  <20050516094309.GD777@obiwan.tataz.chchile.org>
In-Reply-To: <20050513191705.61d2b742.spe@phear.org>
References:  <20050513111013.41905e73.spe@phear.org> <m2wtq3cnkz.wl%gnn@neville-neil.com> <20050513191705.61d2b742.spe@phear.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516094309.GD777>