• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is the point of a host-reachability test that doesn't test the reachability of the host?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the point of a host-reachability test that doesn't test the reachability of the host?


  • Subject: Re: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 02 Jun 2011 08:16:42 -0700

On Jun 2, 2011, at 6:04 AM, Jim Adams <email@hidden> wrote:

> In a recent app I wrote I used the Reachability API but then when attempting to log on to my host I pinged 5 tries at the same time as attempting to log on. My thinking was that I could either wait the very long time for the logon attempt to time out or I could decide after 5 failed ping attempts that the host was down.

Why? Just try to connect. If it fails, put up an error.

Why does everyone insist on using roundabout ways to detect if maybe a host will accept connections on a completely unrelated port?

--Kyle Sluder_______________________________________________

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

  • Follow-Ups:
    • RE: What is the point of a host-reachability test that doesn't test the reachability of the host?
      • From: Jim Adams <email@hidden>
    • Re: What is the point of a host-reachability test that doesn't test the reachability of the host?
      • From: Sherm Pendley <email@hidden>
References: 
 >What is the point of a host-reachability test that doesn't test the reachability of the host? (From: G S <email@hidden>)
 >Re: What is the point of a host-reachability test that doesn't test the reachability of the host? (From: Greg Parker <email@hidden>)
 >Re: What is the point of a host-reachability test that doesn't test the reachability of the host? (From: G S <email@hidden>)
 >Re: What is the point of a host-reachability test that doesn't test the reachability of the host? (From: Greg Parker <email@hidden>)
 >RE: What is the point of a host-reachability test that doesn't test the reachability of the host? (From: Jim Adams <email@hidden>)

  • Prev by Date: RE: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • Next by Date: Re: Archiving / Unarchiving Question
  • Previous by thread: RE: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • Next by thread: Re: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • Index(es):
    • Date
    • Thread