Recieve TCP with Beaglebone Black

Hi, I’m new in Beaglebone.
My problem: I want to recieve TCP packets with the beaglebone, and send this string to a display for example.

Please read an Unix programming book.

Or use one of those :
http://netcat.sourceforge.net
http://freecode.com/projects/socat

By display you mean standard output?

Paulo Ferreira