PDA

View Full Version : IPC with QLocalServer/QLocalSocket



ManuMies
10th February 2009, 11:55
I'm implementing client-server architecture using QLocalServer and QLocalSocket.

I'm planning to do a standalone server executable that can have multiple socket connections from client applications. Now, what I'm wondering, is how to handle the sockets?

Ex. How to echo same data to all sockets or if I like to send something just for a one specific socket? Is it possible?

What does nextPendingConnection() return, a socket to the newest socket connection available?

And if you have an good example, please share it. :)

gustavosbarreto
11th February 2009, 20:09
http://google.com/codesearch?hl=pt-BR&lr=&q=QLocalServer+file%3A\.cpp%24&sbtn=Pesquisar