Introduction - If you have any usage issues, please Google them yourself
I made a lot of communication server software, first published the most basic thread source code, and then announced the "asynchronous" TCP/IP communication thread source code.
This thread class mainly solves the problem of synchronization between threads and the synchronization of data communication with the main form. It has been running steadily for a long time on the server program I developed.
Packet : 53607936ycode.rar filelist
YThread.pas
WinSock2.pas
YSocket.pas
YStacker.pas