I am writing a client / server application that needs to work with IPC. I have developed the program using TCPSockets but now would like to attempt using message queues. The server just runs until a client connects. After the client connects it can send the server any integer, which is then displayed on the server. Multiple clients can connect to the server and send it integers, which is visible to the server and connected clients.
Without using sockets, how would I approach implementing this? There can be any number of clients connecting. I was thinking of using a QThread to handle polling to see if a client is connected(?) but this is where I am stuck -- how do you tell a client is connected?