06-20-07 06:26 PM
On 20 Jun, 15:03, aiooua <aio...@gmail.com> wrote:
> 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?
For Linux, you could look at NetworkManager, which provides this kind
of notifications via dbus.
http://people.redhat.com/dcbw/Netwo...chitecture.html (please
follow "Read the NetworkManager API documentation" link)
[ Post a follow-up to this message ]
|