TCP is for communication between applications.
When an application wants to communicate with another application via Transmission Control Protocol(TCP) , it
sends a communication request. This request must be sent to an exact address.
After a "handshake" between the two applications, TCP will setup a
"full-duplex" communication between the two applications.
The "full-duplex" communication will occupy the communication line
between the two computers until it is closed by one of the two applications.
UDP is very similar to TCP, but is simpler and less reliable.