• 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: OTRcv when disconnected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTRcv when disconnected


  • Subject: Re: OTRcv when disconnected
  • From: Quinn <email@hidden>
  • Date: Mon, 23 Sep 2002 18:21:52 +0100

At 12:50 -0400 23/9/02, Jason Linhart wrote:
The way the operating system is dealing with lost connections seems
correct to me, or as close as we are likely to get. If you want a timeout
you should implement one in your code.

My preferred approach, at least for GUI applications, is to provide a progress dialog with a "Stop" button. That way the user can determine their own timeouts. So, if they accidentally kick out the power cable on their hub, they don't have to race against some arbitrary timeout to plug in back in (-:

btw There's more advice about how to deal with dynamic TCP/IP environments in Technote 1145.

<http://developer.apple.com/technotes/tn/tn1145.html>

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: OTRcv when disconnected (From: Jason Linhart <email@hidden>)

  • Prev by Date: Re: OTRcv when disconnected
  • Next by Date: Re: Determining "default" address from Rendezvous resolve
  • Previous by thread: Re: OTRcv when disconnected
  • Next by thread: Re: OTRcv when disconnected
  • Index(es):
    • Date
    • Thread