About the author
One of the best ways to measure TCP maximum bandwidth is to use the iperf tool, which you can download from here.
Source code is available, and there's executables for Windows XP to Windows 10, Linux x86 and Linux x64, Mac OS X, x86 Solaris and SPARC Solaris.
A method to design records so that they're allocated on a specific byte boundary, such as 16 bytes, 512 bytes, 4096 bytes, etc.