1. Why is symbolic constant INADDR_ANY used?
2. Examine the web server in Appendix 1, and build an equivalent server using the socket API.
3. Implement the simplified API in Appendix 1 using socket functions.
4. Suppose a socket is open and a new thread is created. Will the new thread be able to use the socket?
1. Why is a protocol for a standardized service documented independent of an implementation?
2. What details does an application protocol specify?
3. Give examples of web protocols that illustrate each of the two aspects of an application protocol.
4. What are the two key aspects of application protocols, and what does each include?