I have written a small utility, ifup, which will tell you if any network
interface is up or down (connected or disconnected). 

Now,  what I really need is a way to get a notification when an
interface changes its status. Is there any way to do this under linux? 

(Of course I can sleep() and continually check the interface's status,
but I dislike this approach- can you hear you cpu roasting? :))

Thanks to Alex Shnitman, Aviram Jenik and James Olin Oden for their
help! 
-- 
Muli B.Y.
email: [EMAIL PROTECTED]

linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to