Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Distributed Objects

Distributed Objects
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Location: Växjö, Sweden, Europe
Status: Offline
Reply With Quote
Nov 26, 2001, 02:06 PM
 
I have produced code that successfullly vends and gets objects locally, when using "nil" for hostname. It does not work when using for example "192.168.0.26", after copying and starting the server app on that machine.

What is there I haven't noticed about remote Distributed Objects?
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Nov 27, 2001, 09:50 AM
 
I'm going to bump this up to the top of the list, while at the same time asking: what?

What language are you talking about?
All words are lies. Including these ones.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 27, 2001, 12:17 PM
 
Obj-C/Cocoa, I guess, since that's where you do DO

Anyway, congratulations, you realised that this functionality is broken in Mac OS X. I'm pretty sure someone said there was a workaround involving writing your own transport protocol for DO, you might like to check the archives to macosx-dev.
     
gladmac  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: Växjö, Sweden, Europe
Status: Offline
Reply With Quote
Nov 29, 2001, 01:18 PM
 
This being broken REALLY sucks. And Apple doesn't even mention it in the docs... now I'm angry.

Yeah I got my reply there on that list.

Thanks


Originally posted by Angus_D:
<STRONG>Obj-C/Cocoa, I guess, since that's where you do DO

Anyway, congratulations, you realised that this functionality is broken in Mac OS X. I'm pretty sure someone said there was a workaround involving writing your own transport protocol for DO, you might like to check the archives to macosx-dev.</STRONG>
     
Senior User
Join Date: Aug 2001
Location: CA
Status: Offline
Reply With Quote
Nov 30, 2001, 02:18 AM
 
Originally posted by gladmac:
<STRONG>This being broken REALLY sucks. And Apple doesn't even mention it in the docs... now I'm angry.

Yeah I got my reply there on that list.

Thanks


</STRONG>
Hmm? I didn't think it was broken. Everything I have read says you need to make a protocol.

Note that this is an Objective C "Protocol", not a network protocol. You don't have to implement TCP or something.

There are examples around like http://www.omnigroup.com/mailman/arc...st/018144.html


-B
Dual 800 - GF3 - 1.5GB
     
gladmac  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: Växjö, Sweden, Europe
Status: Offline
Reply With Quote
Nov 30, 2001, 05:02 PM
 
Ummm... we're not talking about that kind of protocol at all...

Thing is, when you're vending/getting an object between two machines through TCP/IP you have to manually create two NSPorts and set the listening port in one end and IP and port in the other end. And this is not documented. It says how to do this... but the much easier way that is described is simply broken.

Originally posted by benh57:
<STRONG>

Hmm? I didn't think it was broken. Everything I have read says you need to make a protocol.

Note that this is an Objective C "Protocol", not a network protocol. You don't have to implement TCP or something.

There are examples around like http://www.omnigroup.com/mailman/arc...st/018144.html


-B</STRONG>
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2