Re: NSSocketPort question: retainCount
Re: NSSocketPort question: retainCount
- Subject: Re: NSSocketPort question: retainCount
- From: Nicko van Someren <email@hidden>
- Date: Mon, 16 May 2005 18:27:56 +0100
On 16 May 2005, at 18:19, Charilaos Skiadas wrote:
On May 16, 2005, at 10:48 AM, Nicko van Someren wrote:
NSSocketPort *sendPort = [NSSocketPort alloc];
NSLog(@"No object on created: retain count = %d", [sendPort
retainCount]);
[sendPort initRemoteWithTCPPort: @"aServer" host:@"127.0.0.1"];
shouldn't this be
sendPort=[sendPort initRemoteWithTCPPort: @"aServer"
host:@"127.0.0.1"];
in case init returns a different object?
Yes, it should. My mistake.
Nicko
_______________________________________________
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