For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > June 2007 > a trigger for changes to network interfaces (equivalent of WSAEventSelect with FD_ADD









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author a trigger for changes to network interfaces (equivalent of WSAEventSelect with FD_ADD
aiooua

2007-06-21, 10:05 pm

Hi,

Is there a way to register a socket descriptor with select, so that
one gets notified every time the underlying network interfaces change.
On Windows, I can use WSAEventSelect with FD_ADDRESS_ LIST_CHANGE to
receive notification of local address list changes for the address
family of the socket. What's the Unix equivalent for the same
functionality?

In general, is there a way to get triggered when the underlying
network connectivity changes?

Thanks so much for your time.
--

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com