• 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: David Duncan <email@hidden>
  • Date: Thu, 2 Jun 2011 10:36:35 -0700

On Jun 2, 2011, at 10:31 AM, Jim Adams wrote:

> Why? Because the timeout was inordinately long with no way to shorten it other than create my own timeout. Users want responsiveness. One of the things I hate more than anything is when an app won't start because it can't contact its host. Its bad enough if it can contact the host but the response is really slow.


If you want to create your own timeout, all you should have to do is start the (asynchronous) connection and set a timer for the timeout length you desire. If you don't get a response by then (presumably you just cancel the timer if you do) then you cancel the connection attempt and declare that the connection timed out. No need for additional connections.
--
David Duncan

_______________________________________________

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: Nathan Sims <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>
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>)
 >Re: What is the point of a host-reachability test that doesn't test the reachability of the host? (From: Kyle Sluder <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: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • 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