Netcat — network utility
$ nc -zv host 80
$ nc -l 8080
$ echo "msg" | nc host 1234
$ nc -zv host 1-1000