Re: OTRcv when disconnected
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.