Application protocol

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?


Looking for help with your homework?
Grab a 30% Discount and Get your paper done!

30% OFF
Turnitin Report
Title Page
Place an Order

Grab A 14% Discount on This Paper
Pages (550 words)
Approximate price: -