UDP vs TCP Flashcards
What are the characteristics of UDP? (four answers)
- Data is reconstructed in the order it was received.
- Any segments lost are not sent again
- There is no session establishment
- The sending device is not informed about resource availability
What does UDP have fewer of that allows it to be transmitted faster?
Header fields
What are the basic operations TCP provides? (three answers)
- Number, track, retransmit, and order data segments.
- Acknowledge data received
- Send data at an effective rate
When should you use UDP and when should you use TCP?
You use UDP when the application requires speed but can suffer data loss. You use TCP when you need a reliable connection to the remote computer.
What are UDPs segment names?
Datagrams
What does TCP have to do that UDP doesn’t
Establish a connection
What is the range of the well known port?
0-1023
What is an IP address and a port number called when they are together?
a socket (192.168.0.18:80)
What are two sockets together called?
a socket pair
What are the functions of the three-way handshakes?
- Established the destination device is present on the network
- Certifies the destination devices has an active service and is accepting requests.
What is the range of the registered ports?
1024 - 49151
What is the range of the private or dynamic ports?
49152 - 65536
What can unexplained TCP connections be?
a major security risk
What CMD command shows what connections are active on a computer?
Netstat
What does the transport layer specify?
Protocols on how to transfer messages and managing reliability.