David Reynolds wrote:
netcat may do what you want here.
Looks like it might, thanks!
The version in the Ubuntu repos is v1.10 and the man page states quite clearly that it's just "free", no GPL or anything, whereas the version at:
.. is 0.7.1 and is GPL, so I assume that these are different versions. I'll try the one in the Ubuntu repos for now.