Yes, as I said
No, because you don't want to connect to clients but accept client connections
Yes, because your handler for newConnection() overwrites a single QTcpSocket variable.
Yes, store the accepted connections in a list or map, not in a single pointer variable.
Cheers,
_







Reply With Quote
Bookmarks