• 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
Problem with distributed objects in GUI cocoa apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with distributed objects in GUI cocoa apps


  • Subject: Problem with distributed objects in GUI cocoa apps
  • From: Costas Chatzinikolas <email@hidden>
  • Date: Sun, 30 Mar 2014 11:28:01 +0300

Hi everyone,

i recently made a set of 2 command lines apps in Cocoa, that use
Distributed objects to communicate. In fact, the first app is the client
that sends a message, the second app is the server the vends the object.
Everything works ok!!!

Then i tried to make these 2 apps GUI based. I used the same code. The
server vends the object, but the client is unable to get the connection. It
always gets a nil connection. In fact when i check the number of available
connections from the client using:

[NSConnection allConnections]

it always return zero connections. The only difference in my code is that
in the GUI server app, i don't use:

[[NSRunLoop currentRunLoop] run]

since the GUI app has its own runLoop.

I also have enabled the sandbox networking capabilities for both GUI apps.

Has anyone experience this behavior before me?

Thanks in advance...
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Problem with distributed objects in GUI cocoa apps
      • From: Charles Srstka <email@hidden>
  • Prev by Date: Re: Socket Programming on iOS
  • Next by Date: Re: Problem with distributed objects in GUI cocoa apps
  • Previous by thread: Re: IOKit / OSX: How can I distinguish between "real hard disk" and mounted images?
  • Next by thread: Re: Problem with distributed objects in GUI cocoa apps
  • Index(es):
    • Date
    • Thread