1. After receiving the TCP signal, send it out. This project considers the influence between threads, and a thread management part is set in the middle.
(1) Declare a signal function in monitortcpclientworker.h:
(2) Send in monitortcpclientworker.cpp:
Second, manage the signal of the thread
(1) Declare the signal function in monitortcpclientthreadmanager.h:
(2) Add connection function in monitortcpclientthreadmanager.cpp:
Third, the module implementation part
(1) Add a signal function to the slot function (private slots) of checkpacketcount.h:
(2) Add the implementation function in checkpacketcount.cpp (simple display part):
(3) Add connection function in checkpacketcount.cpp:
The above are the simple implementation steps this time, recorded here, welcome to discuss! ! ! ! !