increment variable of server class for each thread
Unsolved
Qt 6
-
@fari35 said in increment variable of server class for each thread:
How can I do that?
Emit a signal in each thread as soon as a new client connects. Connect a slot to that signal and increment the count variable there.