How to communicate between two different exe
Hi,
I'd like to know your opinion on how to communicate between two different exe, at the moment I'm investigating on the Solution QtSharedMemory, but maybe there are some other ways.
Both the executable are developed by me using qt.
Thanks in advance
Re: How to communicate between two different exe
You could use sockets or pipes as well.
Re: How to communicate between two different exe
I know about QTcpSocket, but does Qt have support for pipes? I'd prefer a cross-platform solution.
Re: How to communicate between two different exe
tcp sockets then. the assistant works this way (there is an example or two in qt about this subject).
Re: How to communicate between two different exe
If both applications run on the same machine I'd recommend the shared memory solution. Alternately you could also use files, or the already mentioned sockets and pipes.