From: | Daniel Robbins |
Date: | 15 Aug 2000 at 01:09:57 |
Subject: | Re: AMIOPEN: Which is better: Message Ports or TCP Sockets? |
On Mon, Aug 14, 2000 at 07:45:24PM -0400, Douglas McLaughlin wrote:
> Hi all,
>
> On the new 'DE', which is the best method to pass data between tasks,
> message ports or TCP sockets? Which would be the most compatible with
> classic Amiga methods?
You're going to have way more overhead with TCP sockets. I think that
using kernel-based IPC (like message ports) is definitely the way to
go. Besides, since you are going to be passing data between
processes, they are going to be on the same machine (probably), so
there's no need for TCP. You may also want to consider using threads,
and just have them access the same data structures.