Bash, if compiled accordingly, has pseudo-device files that allow you to open TCP connections:

 $ # /dev/tcp/$host/$port
 $ echo foo > /dev/tcp/127.0.0.1/57005

Of course, nc is a more functional alternative, but this is an interesting bash feature nonetheless.

http://tldp.org/LDP/abs/html/devref1.html