Re: Socket timeout issue
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