• 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
NSSocketPort/NSConnections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSocketPort/NSConnections


  • Subject: NSSocketPort/NSConnections
  • From: Dustin Mierau <email@hidden>
  • Date: Thu, 27 Sep 2001 14:37:54 -0700

Thanks for the response on my dealloc question, I dunno if I agree that my dealloc method shouldn't be called, but whatever.

Another question.

I have 2 NSSocketPorts, I want to try this distributed objects over a network thang, it is pretty amazing =)

I setup the sockets and the connections, and everything works great. I release the connections when done (I dont release the NSSocketPorts I create cause I pass them to my NSConnections with the autorelease method) in the applicationWillTerminate notification. So it works fine, I can call methods on the served object, but when I quit the app and run it again I get an exception during creation NSPort timeout. I wait a minute or so and launch the application again and it works fine.

I have a feeling I am not cleaning up the ports correctly.

Any thoughts?

Thanks,
-dustin


  • Prev by Date: Re: Help!
  • Next by Date: Re: dealloc not being called?
  • Previous by thread: Re: Help!
  • Next by thread: Escaping slash in Services Menu
  • Index(es):
    • Date
    • Thread