How to measure the TCP/IP overhead without sniffing?
问题 I'm wondering whether there is a programmatic way to obtain a measure of the full bandwidth used when sending data through a TCP stream. Since I cannot seem to know how the network stack would divide the stream into packets, or when it sends a TCP SYN or ACK or many of the things it does in the background for you, I can only get a rough estimate for this. The only solution I can think of is to actually sniff the interface, but I would like to think that the stack can already collect this