If I give a real example, I want to create a desktop software that includes:
- electron js app that communicates with react js using IPC channels.
- I need to communicate with software that only has a Python module. so I created a TCP server/client communication for this purpose.
- I have a printer with C++ SDK. so I also created a TCP server/client between electron and C++.
For now, I package Python using PyInstaller and compile C++ using g++, and put them as static files alongside the electron app. Then from electron code, I use child processes with bash commands to run Python and C++. then I package the electron app using electron-builder in a .exe or .deb file.
What I tried: I tried to make TCP communication between different parts.
Question: Is there any way that I can communicate between these parts apart from TCP that I used?