Review the basic properties of UDP as a transport protocol over IP.
Which description is correct?
UDP is connectionless and sends independent datagrams with low overhead. Delivery and ordering are not guaranteed by UDP itself.
Detailed explanation
Incorrect. This describes TCP's connection and reliability controls.
Correct. UDP sends datagrams without establishing a connection.
Incorrect. This describes ICMP.
Incorrect. UDP itself does not provide encryption or peer authentication.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import socket; print(socket.getprotobyname('udp'), socket.SOCK_DGRAM)"Expected result
17 2(UDPのプロトコル番号とデータグラムソケット種別)Key points
- Connectionless
- Datagram service
- No delivery or ordering guarantee
Notes
- Environment: Python 3 socket / 外部通信なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Network prefix
The part of an IP address that identifies the network rather than a host.
Transport protocol
TCP and UDP provide different delivery, reliability, and connection semantics.
Service port
A numbered endpoint used to deliver traffic to a network service.