• 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: DCOM on Mac OS X, or using sockets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DCOM on Mac OS X, or using sockets?


  • Subject: Re: DCOM on Mac OS X, or using sockets?
  • From: Charlie Lenahan <email@hidden>
  • Date: Mon, 03 Apr 2006 12:11:43 -0400

I can't speak to the DCOM,

If you want something exactly like it  , then that would be CORBA,

Or if you just want a pre-built networking interface/protocol look at SOAP.

Or if you IPC calls are sending simple data just create your own protocol
and use plain sockets.

At 12:02 PM 4/2/2006, Dirk Stegemann wrote:

Helloa all,

I want our Mac OS X client applications to be able to connect to a 
Win32 server application which is on the same LAN.

I haven't done much network programming yet (only some CFReadStream / 
CFWriteStream communication to talk to a web server on the WAN via 
http).
I wonder whether DCOM is an option at all, or if we have to use some 
sort of sockets (or whatever is the most appropriate way to go).

To understand why I'm considering DCOM for the Mac OS X clients, I 
have to provide some background information about our software 
constellation:

Currently, there are several Win32 and Mac O X client applications.
On all the Win32 boxes and Mac OS X boxes usually different client 
applications are running.
These client applications do *not* connect over a network, instead 
every box has its own system-specific instance of the server 
application running; so only local inter-process communication (IPC) 
has been realized so far.
IPC on Win32 boxes is implemented using DCOM, IPC on Mac OS X uses 
AppleEvents.


Now, instead of running one system-specific server instance per 
client box, we want to provide one server instance only, running on a 
Win32 box on the LAN.
So, all the clients (Mac OS X and Win32) should connect to that one 
Win32 server process via network communication instead of using IPC 
to connect to their local server application instance.

First tests showed that it's possible for Win32 client applications 
to connect to the Win32 server application by using DCOM over the 
network -- only minimal code changes were required.
If Mac OS X clients *were* able to use DCOM to connect to the Win32 
server application, it might save a lot of development effort, 
because the Win32 server application's implemetation does not have to 
be changed.
On the other hand, Google doesn't know much about DCOM for Mac OS X, 
it seems there was a beta version available for classical Mac OS 
around 1997...?

Maybe someone can point to documentation, or has experience using 
DCOM on Mac OS X?

Incase DCOM is *not* the way to go, is there an official / 
recommended approach for platform-independent client-server data 
transfer over a (local) network?
Do I assume correctly that the Win32 server application somehow has 
to register itself to a certain port / protocol, and all the clients 
connect to the given IP-address/port (probably using TCP/IP)?
Is there a recommended API for the Mac OS X clients (e.g. CFStream, 
BSD sockets)?

Thanks for any recommendations and pointers to documentation and 
sample code!


Best regards,
Dirk Stegemann



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:


This email sent to email@hidden



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006



Absolute Security for Intelligent Networks

Charlie Lenahan
Software Engineer | email@hidden | P. 813 288 7388 x121  | F. 813 288 7389
Fortress Technologies   |  4023 Tampa Road, Suite 2000  | Oldsmar, FL  34677 


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 3/31/2006
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: DCOM on Mac OS X, or using sockets?
      • From: Dirk Stegemann <email@hidden>
References: 
 >DCOM on Mac OS X, or using sockets? (From: Dirk Stegemann <email@hidden>)

  • Prev by Date: Re: Unable to retrieve ethernet address.
  • Next by Date: Re: DCOM on Mac OS X, or using sockets?
  • Previous by thread: DCOM on Mac OS X, or using sockets?
  • Next by thread: Re: DCOM on Mac OS X, or using sockets?
  • Index(es):
    • Date
    • Thread