netcat is one way.

http://www.datastronghold.com/articles/3.html

that's after a really quick search and scan. i think it'll tell you how. too lazy to look harder, but your google terms should...