• 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: NSConnection, NSSocketPort, and timeouts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSConnection, NSSocketPort, and timeouts (From: patrick machielse <email@hidden>)

  • Prev by Date: Help for NSBezierPath.
  • Next by Date: Re: Help for NSBezierPath.
  • Previous by thread: NSConnection, NSSocketPort, and timeouts
  • Next by thread: Re: NSConnection, NSSocketPort, and timeouts
  • Index(es):
    • Date
    • Thread