If your server is based on Qt, you prefer to use QProcess . Now I donβt understand what you want to do: if two persons are allowed to interact with any resource, you will need to clearly control the way of interaction.
The easiest way is to use QSharedMemory : your main server process controls the socket, starts shared memory, and then runs other software. While your other software is running, your main application transfers data from / to the socket to shared memory, and your spawned process only interacts with shared memory.
Bruce source share