TCP vs UDP Flashcards
A connection-oriented protocol
TCP
Suited for applications requiring high reliability
TCP
Transmission time is less cruicial
TCP
Used by:
HTTP
SMTP
Telnet
TCP
Uses acknowledgements to ensure that data has arrived before sending data back. Takes more time.
TCP
Connectionless protocol
UDP
Good for message transport
UDP
Suited for applications that require fast and efficient transmission, such as video games or videos.
UDP
Used by: DNS DHCP SNIMP VOIP
UDP
Favors speed over reliability
UDP
Client/Server configuration that is used to transfer files
FTP
Exclusively TCP based, no UDP
FTP
uses data port 20 and command port 21
FTP
Connection initiated by client over command port 21
FTP Active mode
Server connects back to port 20
FTP passive mode
Port 22
SSH
Uses public key encryption, providing confidentiality and integrity over an unsecured network
SSH
Commonly used to secure remote logins
SSH
Primarily used in unix and Linus
SSH
Port 23
Telnet
Designed to communicate between 2 computers and remote logins.
Telnet
Not encrypted
Telnet
Port 25
SMTP
For sending email. It transfers messages from server to another.
SMTP
Port 110
POP3
Client/Server protocol used to retrieve email. By default, messages are deleted from server after user has downloaded email. Built into most popular email products.
POP3