Re: NSSocketPort question: retainCount
Re: NSSocketPort question: retainCount
- Subject: Re: NSSocketPort question: retainCount
- From: Fabio Ribeiro <email@hidden>
- Date: Mon, 16 May 2005 11:38:12 -0700
Thanks Douglas and Nicko,
I think that I was only supposed to invalidate a connection (as NSConnection retains the NSSockPort). I was invalidating connections but after some minutes running an app I wasn't able to open more sockets for this app? (clearly call release only wasn't disposing all resources?) :D
I'll try that!
Thanks!
Fabio
On Monday, May 16, 2005, at 10:54AM, Douglas Davidson <email@hidden> wrote:
>
><<Original Attached>>
On May 16, 2005, at 10:47 AM, Nicko van Someren wrote: That's really rather useful to know; I've never seen it mentioned anywhere else. The docs for NSPort talk about you needing to mark ports as invalid when you detect timeouts etc. but as far as I can tell they say nothing of you always needing to invalidate a port before you dispose of it. Can you tell me where this is documented? If not, should I file a bug report against the developer docs?
Go ahead and file a bug against the documentation.
Douglas Davidson
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden