Try these questions to test your knowledge on this chapter:
- What is a socket?
- What is a connectionless protocol? What is a connection-oriented protocol?
- Is UDP a connectionless or connection-oriented protocol?
- Is TCP a connectionless or connection-oriented protocol?
- What types of applications generally benefit from using the UDP protocol?
- What types of applications generally benefit from using the TCP protocol?
- Does TCP guarantee that data will be transmitted successfully?
- What are some of the main differences between Berkeley sockets and Winsock sockets?
- What does the bind() function do?
- What does the accept() function do?
- In a TCP connection, does the client or the server send application data first?
Answers are in Appendix A, Answers to Questions.