in main thread create some signal - let's call it broadcast signal - with a message as an argument, and make appropriate slot in your QThread subclass and connect every new thread to this one signal. In slot just send this message through the socket. So when you emit signal, every socket should send the message.






Reply With Quote

Bookmarks