I'm not sure about your meaning of
shell but, with sockets involved, just use them (reading/writing).
If your server app needs data from other applications, those applications have to write it to the corresponding sockets.
Am I missing anything here?