Is the internet avaliable question
Is the internet avaliable question
- Subject: Is the internet avaliable question
- From: Kevin Bracey <email@hidden>
- Date: Mon, 5 Apr 2004 21:54:51 +1200
Thank you, to all for the help with this, especially murat n konar. Who
provided a working version which enabled me to spot my errors.
As so often is the case, it was a simple misunderstanding of just what
this tool is for.
I was testing for "
http://www.ilike.co.nz/faq/" when I should have been
looking for "www.ilike.co.nz". Just too focused on my goal.
Garbage in ...
So it would seem that if you want to know that a domain is accessible
then SCNetworkReachable is the way to go. Given that I know that the
domain is there the test is a bit redundant. (I still may have this
wrong) If you want to check for a particular page or folder at that
domain, I suspect that would require a live/forced connection.
This begs the question what exactly am I looking for again, "Does my
user have a functional internet connection, through which they can
browse or send e-mail, to a particular domain, if required?", I think
SCNetworkReachable reflects that, or I'll just have to force them
on-line and if that fails then ask them.
Thanks again, I think that's about as close as I can get. Hope this
helps those who follow.
Regards
Kevin Bracey
"I am ready to meet my Maker. Whether my Maker is prepared for the
great ordeal of meeting me is another matter." -- Winston Churchill
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.