Module 15: TCP and UDP
Assume a host with IP address 10.1.1.10 wants to request web services from a server at 10.1.1.254. Which of the following would display the correct socket pair?
10.1.1.10:1099 and 10.1.1.254:80
Which statement correctly describes data transmission at the transport layer?
Both UDP and TCP use port numbers
Which protocol operates at the application layer of the TCP/IP model?
HTTP
What is a characteristic of UDP?
It provides unreliable delivery of segments
What is an advantage of UDP over TCP?
UDP communication requires less overhead
Which type of applications are best suited to use UDP as the transport layer protocol?
applications that require minimal transmission delay
True or False: The Transport Control Protocol (TCP) does not keep track of segments sent to the destination.
false
Which Windows command would display the protocols in use, the local address and port numbers, the foreign address and port numbers, and the connection state?
netstat
What protocol header information is used at the transport layer to identify a target application?
port number
What is the purpose of using a source port number in a TCP communication?
to keep track of multiple conversations between devices
A student is sending files from a phone to a computer across a network. Which layer of the TCP/IP model is responsible for reassembling these messages as they are received on the computer?
transport
At which layer of the TCP/IP model does TCP operate?
transport
Which layer of the TCP/IP model is responsible for ensuring packets are sent reliably and any missing packets are resent?
transport layer
True or False: The User Datagram Protocol (UDP) does not use acknowledgments to track the receipt of segments.
true
What type of port number is assigned by IANA to commonly used services and applications?
well-known port
Which port group includes port numbers for FTP, HTTP, and TFTP applications?
well-known ports
When is UDP preferred to TCP?
when an application can tolerate some loss of data during transmission