NetStrain measures real-world data transfer speed between two machines via a TCP connection. It is a software tool designed to help monitor data throughput.
One great thing about NetStrain is that it supports both IPv4 and IPv6 as long as the underlying system does. It's also built to demonstrate basic TCP socket programming and IPv6 support. It even comes with an getaddrinfo()/getnameinfo() emulation that you can reuse in other programs.
NetStrain is written in C and designed to compile on any modern Unix version. You won't need any special libraries to use it. All you need is a strain of Unix with reasonable sockets support.
So far, NetStrain has been tested on several systems such as Linux, FreeBSD, Solaris, and Darwin 6.x. It was also tested on Linux 2.2.x + glibc 2.1.x on x86, alpha, powerpc, sparc (Debian 2.2 "potato"); Linux 2.4.x + glibc 2.2.x on x86 (Debian 3.0 "woody", RedHat 7.3 and SuSE 7.2); FreeBSD 4.6 on x86; Darwin 5.x (a.k.a. Mac OS X 10.1.x) on powerpc; Darwin 6.x (a.k.a. Mac OS X 10.2.x) on powerpc; SunOS 5.8 (a.k.a. Solaris 8) on sparc (Only worked with gcc and `make LIBS=-lsocket'); IRIX64 6.5 on mips; HP-UX 11.00 on hppa2.0; QNX 6.2.1 on i386 (`make LIBS=-lsocket' required).
With its comprehensive system compatibility and features, NetStrain can be a great tool for software developers and network administrators alike.
Version 3.0: N/A