Best way to Poll for connectivity.

Owas Lone hello at owaislone.org
Sat Aug 6 06:53:53 UTC 2011


Hey,

I was wondering what would be the best/most efficient method of
polling for the internet to become available.

I mean like empathy or skype sit idle (poll to check connectivity) and
imediately connect when computer goes online.

What would be the best way to implement this in Python. Does
GLib/GObject or any POSIX API provide some sort of callback system for
this.


Thanks
-- 
Owais Lone
hello at owaislone.org
http://www.owaislone.org




More information about the Ubuntu-devel-discuss mailing list