• 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: NSSocketPort question: retainCount
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSSocketPort question: retainCount (From: Fabio Ribeiro <email@hidden>)
 >Re: NSSocketPort question: retainCount (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: Re: NSSocketPort question: retainCount
  • Previous by thread: Re: NSSocketPort question: retainCount
  • Next by thread: Re: NSSocketPort question: retainCount
  • Index(es):
    • Date
    • Thread