CodeWarrior Sending and receiving messages between two apps

  • Nominations will close March 25th. If you'd like to join the board and influence how TinkerDifferent runs in the next year, put your name in now!
  • Hey Guest, MARCHintosh 2026 is upon us. Check out community projects, join GlobalTalk, and have fun!

pfuentes69

Active Tinkerer
Oct 27, 2021
380
297
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
297
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
297
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

Active Tinkerer
Jul 20, 2023
206
269
63
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.