• 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: Socket timeout issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket timeout issue


  • Subject: Re: Socket timeout issue
  • From: "Peter Sichel" <email@hidden>
  • Date: Thu, 6 Sep 2007 21:11:06 -0400

On 9/6/07, Mitchell Laurren-Ring wrote:

>I have an application that keeps a socket open to a server nearly
>continuously. If the socket connection is established and then the
>underlying network connection is changed (for example, from ethernet
>to Airport), the next attempt to send via that socket fails but only
>after a timeout period of around 9 minutes and 50 seconds.

Instead of relying on the connection to timeout, why not register
with the System Configuration Framework to be notified when an IP
interface changes so you can close any stale connections promptly.

- Peter

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Socket timeout issue
      • From: Mitchell Laurren-Ring <email@hidden>
References: 
 >Socket timeout issue (From: Mitchell Laurren-Ring <email@hidden>)

  • Prev by Date: Socket timeout issue
  • Next by Date: How to find realm of an Authentication Challenge
  • Previous by thread: Socket timeout issue
  • Next by thread: Re: Socket timeout issue
  • Index(es):
    • Date
    • Thread