• 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: Distributed Objects over Network
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects over Network


  • Subject: Re: Distributed Objects over Network
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 9 Jul 2001 10:55:42 -0700

On Sunday, July 8, 2001, at 05:09 PM, Eric Clements wrote:

I am using Distributed Objects to share objects between 2 applications. They work locally on the same machine when I use "nil" for the host: parameter, but does not work over the Network between hosts with "host:" set to @"*" (see below). My goal is to have them work over the network and I am having NO LUCK. Does anyone know if I have to do something special to make them work... Here is a snippet of the code:

Yes, you do have to do something special. The default NSPort subclass and the name server work only on the local machine. You need to use NSSocketPorts instead, and rendezvous based on port number and IP address, to use DO across the network. I believe Chris Kane posted an example of this to one of the mailing lists--either this one or the Omni one--you can look for that.

Douglas Davidson


References: 
 >Distributed Objects over Network (From: Eric Clements <email@hidden>)

  • Prev by Date: Re: How to make a plugin?
  • Next by Date: Re: Are method declarations just comments?
  • Previous by thread: Re: Distributed Objects over Network
  • Next by thread: Re: Distributed Objects over Network
  • Index(es):
    • Date
    • Thread