An example of using Asio for TCP communication under Windows.
The basis of asio will not be introduced here. For details, refer to the code to realize that the server supports simultaneous communication of multiple clients.
1 Install boost via vcpkg
2 Open via Vs2022
Tcp client
Tcp server, each client creates a Session object