Using standard local socket code with QLocalServer



  • I have some existing "C" code in it's own process on a linux box. I want to create a new process that is Qt based and send IPC messages from the old "C" process to the new Qt process. I know how to create a local server using QLocalServer within the Qt process and I know how to create a standard linux pf_local socket client in the "C" process code. Will this work? I can't seem to get a new connection on the QLocalServer and my connection fails when I try to connect in the "C" code.

    I'm thinking this won't work.

    thanks,
    Larry



  • after messing around a bit, I did get this to work. my initial coding attempt must have had an error.

    a standard linux PF_LOCAL socket can connect to a Qt QLocalServer


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.