[Dextrose] [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon
pbrobinson at gmail.com
Thu Feb 10 18:50:42 EST 2011
On Thu, Feb 10, 2011 at 8:20 PM, Bernie Innocenti <bernie at codewiz.org> wrote:
> On Thu, 2011-02-10 at 12:46 -0300, Anish Mangal wrote:
>> Currently, the 'network' icon on the frame tells us whether we're
>> connected to a network or not. Would it make sense for it to test for
>> internet connectivity and maybe reflect that by displaying a small
>> globe overlaid on the 'Network' icon?
> Nice, but how do we determine if we have internet connectivity, by
> pinging a host such as activities.sugarlabs.org every now and then?
A DNS lookup of some centralised host would likely be enough. Some
networks don't allow ping so its likely that won't be a good check.
Name lookup is a fairly reasonable indication that you have some form
of network connectivity.
More information about the Dextrose