netcat

Simple Example:

on host1: cat file | nc $host2 6666
on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c

Source: https://wiki.debian.org/HolgerLevsen