[SOLVED] Connect QLocalSocket to a Local Domain Socket in a non-Qt application
-
Hi,
Can I do IPC between a Qt application and a non-Qt application using QLocalSocket in the Qt application and local domain socket in the non-Qt application. I am using Linux.
Thanks
-
Hi and welcome to devnet,
I would say yes, since QLocalServer/Socket uses local domain socket on Unix (you need to test though)
-
I tried. It works.
You must use AF_UNIX family of socket and socket type SOCK_STREAM.
-
Great !
Since the question has an answer, can you update the thread title to solved ?So other forum users may know that it's all good :)