- using C++ language
- compilation environment is code::blocks
- uses nonblocking sockets
- you should modify client ip address before running project,which is consistent with your host address
- a server communicates over multiple clients
- The program implements multi-threaded development, including receiving data thread, sending data thread, main thread, receiving client-side thread, and cleaning resource thread.Where the main thread is responsible for the input of data and the cleaning resource threads is mainly responsible for cleaning up the unnecessary memory space.
- you can communicate directionally to a connected client, and you can also send data to a single client by broadcast
If useful to you, please star to support my work. Thanks.