Checking Network Connectivity

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
xclntdesign
Posts: 34
Joined: Sun Feb 06, 2011 8:33 pm

Checking Network Connectivity

Post by xclntdesign » Mon Sep 05, 2011 5:57 pm

I have recently found the commands relating to checking network reachability on an iPhone, but I don't quite understand how it works.

I set the Reachability Target and was able to check it, but I can't seem to figure out how to see if the host name is actually reachable. I see that the reachabilityChanged message is delivered, but I can't find where so that I can parse the reachbilityInfo.

Can anyone help me? Thanks!

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Checking Network Connectivity

Post by Mark » Tue Sep 06, 2011 9:04 am

Hi,

Where did you find those commands? It is easier if we know what you're talking about. There are no such commands in the dictionary.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Checking Network Connectivity

Post by FourthWorld » Tue Sep 06, 2011 2:35 pm

In the iOS Release Notes is a section titled "Network reachability checking (experimental)", which describes the range of possible values for the reachabilityInfo.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Nikovash
Posts: 15
Joined: Thu Mar 24, 2011 7:38 am

Re: Checking Network Connectivity

Post by Nikovash » Tue Sep 06, 2011 11:05 pm

The best way I found to deal with it is to set the iPhone reachability and respond to the status change? Message or whatever it is named.

Post Reply