You think you will find answer on this question here? I am sorry to disappoint but you are not going to find right answer here. Here you will find ways how you can not check internet connection reachability in some wireless local area network.
I know you will now say there is “Reachability” named sample app at developer connect library to download, but it ain’t what I am looking for. What I am looking for is feature that will tell me do I have internet connection while I have network connection, to be more accurate, do I have internet connection while I am connected to some wireless local area network? I know, some of you will now say: “Well you can make NSURLConnection and wait for didFailWithError or connectionDidFinishLoading delegate methods”. Yeah, but this again ain’t what I am looking for.
What I was really looking for is something like pinging some host. Again, you will now say: “Well, you might don’t know but Reachability sample app has way to test reachability of given host.” Yeah, but this again ain’t what I am looking for.
I just hope that Apple’s developers will soon add some really easy way to do something like this. Please don’t hesitate to leave comments, and please tell me I am wrong on this one and easy way really exist. Please that I am blind as mole and I can’t see! Thanks!