Checking availability of host/website
Checking availability of host/website
- Subject: Checking availability of host/website
- From: Michael Kaye <email@hidden>
- Date: Sat, 28 Jun 2008 08:36:09 +0100
Hi all,
Another newbie here so be gentle...
I have a small app that needs to send a number of requests to a remote
server.
I have implemented an SCNetworkReachAbility based method to test
firstly whether a network is available, but I was wondering in your
opinion what is the best way to check that the remote host/website is
responding to requests?
Obviously I want any check to be an quick as possible as I don't want
the user to be sitting waiting on a time out etc.
I can think of a number of ways to do this ; ping (but I've no idea
how to do this); creating a connection using NSConnection or NSURL etc.
Can anyone offer any advice/suggestions for the most sensible way to
achieve this?
Thanks in advance, Michael.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden