TCP is the "Transmission Control Protocol", the reliable stream protocol which Internet builds on top of its basic unreliable datagram delivery service: TCP takes care of making sure that each packet gets retransmitted until it is acknowledged, matching packet transmission rate to the current capacity of the link and similar good stuff. The vast majority of traffic on the Internet travels over TCP connections, including email and web pages and remote login sessions (using protocols built in turn on top of TCP, respectively SMTP, HTTP and TELNET).
Java source:SampleTCPDate.java
HTML source:SampleTCPDate.html
Java source:TCPDate.java
HTML source:TCPDate.html