Re: NSConnection, NSSocketPort, and timeouts
Re: NSConnection, NSSocketPort, and timeouts
- Subject: Re: NSConnection, NSSocketPort, and timeouts
- From: Jerry Krinock <email@hidden>
- Date: Thu, 29 Mar 2007 11:53:51 -0700
On 2007 Mar, 29, at 5:04, patrick machielse wrote:
Calling:
// no effect
[connection setRequestTimeout:5.0];
doesn't make a difference, although I believe it should.
Probably you're not doing anything wrong. I noticed the same fixed
75 seconds with
-[NSMutableURLRequest setTimeoutInterval]
and when I searched the list archives I found this to be quite a
known issue, that this timeout is completely broken. Interesting
that you've now found the same issue with NSConnection.
The solution I used, to shorten the timeout, was to time it out with
a separate NSTimer.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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