As part of one of my projects at work that needs TCP communication, I decided to build my own TCP server/client pair. I tried to build it so that it is fairly self-managed, easy to implement into network projects, and contains a lot of useful inbuilt metrics.
Supported metrics (supported both server and client side):
- Number of current connections
- Client and server connection test
- Bytes sent / received / processed
- Packets sent / received / processed
- Number of clients connected