Re: a trigger for changes to network interfaces (equivalent of WSAEventSelect with FD_
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: a trigger for changes to network interfaces (equivalent of WSAEventSelect with FD_




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: a trigger for changes to network interfaces (equivalent of WSAEventSelect with FD_  
Maxim Yegorushkin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:46 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register