Typical applications of TCP
Typical applications of TCP
-
FTP – File Transfer Protocol
- Used for transferring files.
- File transfer requires reliable delivery.
- Lost or corrupted data must be retransmitted.
-
SMTP – Simple Mail Transfer Protocol
- Used for sending e-mail.
- E-mail messages can be large and may contain text, images, audio, or video.
- Reliable and ordered delivery is important.
-
TELNET
- Used for remote login and interactive communication with another computer.
- Reliable, ordered delivery of the byte stream is required.
- TCP provides the required reliable stream service.
-
HTTP – Hypertext Transfer Protocol
- Used for transferring Web content between clients and servers.
- Reliable delivery of Web data is important.
In short
| Application | Protocol | Why TCP is suitable |
|---|---|---|
| FTP | TCP | Reliable file transfer |
| SMTP | TCP | Reliable e-mail delivery |
| TELNET | TCP | Reliable interactive communication |
| HTTP | TCP | Reliable Web-data transfer |
Key idea
TCP is preferred when the application needs reliable, ordered delivery of a continuous stream of data.
This contrasts with UDP, which is preferred when low overhead, low delay, or tolerance of some packet loss is more important.
Comments
Post a Comment