A simple Go package that wraps a net.Conn and tracks the number of bytes read and written over the connection. It also allows you to set a maximum byte limit, after which the connection will be automatically closed.
-
Updated
Aug 23, 2024 - Go
A simple Go package that wraps a net.Conn and tracks the number of bytes read and written over the connection. It also allows you to set a maximum byte limit, after which the connection will be automatically closed.
This project aims to benchmark various methods of copying data between TCP sockets, measuring both performance and CPU usage. The goal is to identify the fastest methods with the least amount of CPU overhead.
Add a description, image, and links to the golang-tcp topic page so that developers can more easily learn about it.
To associate your repository with the golang-tcp topic, visit your repo's landing page and select "manage topics."