This is a set of two scripts which can be used to measure the speed of a network connection.
The server script is an RFC 864 server (Character generator).
It has some limitations, though: It can only handle one connection and it only implements the TCP part, not the UDP part.
A complete RFC 864 server is actually built into Windows. You just need to install the Simple TCP/IP services.
The client connects to an RFC 864 server and prints how much data it receives (per second).
By default the server runs on port 19.