CodeWarrior Sending and receiving messages between two apps

pfuentes69

Active Tinkerer
Oct 27, 2021
380
290
63
Switzerland
Hello
I’d like to send messages (short commands) between two applications.
It may be TCP/IP or AppleTalk, whatever is easier, but it should be C or C++.

I don’t really know where to start… any hint?

txs!
 

pfuentes69

Active Tinkerer
Oct 27, 2021
380
290
63
Switzerland
Just to clarify that I mean messaging between apps running in different computers…

Googling for “Apple Events” is not a good strategy… some link would be appreciated
 

pfuentes69

Active Tinkerer
Oct 27, 2021
380
290
63
Switzerland
Thanks.
This points me to some direction... Although I foresee a big challenge to build a working C application using the Toolbox documentation with those illustrative snippets of Pascal code... If I'm lucky I will find maybe a full client/server basic example.
 

David Cook

New Tinkerer
Jul 20, 2023
16
7
3
If you control the applications, you could always just register a gestalt value that contains a pointer to a buffer or callback methods.

Edit: I now see you want to do it over a network and not within the same machine.