Introduction - If you have any usage issues, please Google them yourself
Based on QT5.5.1 socket TCP communications example, including client and server, realize multithreading, heartbeat, break line, simple data packet (prevent glue bag), and other necessary skills, has encapsulated as independent classes, can strong portability, you just need to add your own data parsing and processing used directly.