Try answering these questions to test your knowledge of this chapter:
- How do sendto() and recvfrom() differ from send() and recv()?
- Can send() and recv() be used on UDP sockets?
- What does connect() do in the case of a UDP socket?
- What makes multiplexing with UDP easier than with TCP?
- What are the downsides to UDP when compared to TCP?
- Can the same program use UDP and TCP?
The answers can be found in Appendix A, Answers to Questions.