ClientServerExample - The skeleton of a simple HTTP server...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The skeleton of a simple HTTP server January 18, 2011 1 Introduction This project requires understanding of a number of topics covered in this class. Among them: laying as an approach for management of complex systems, as illustrated by the Internet net- work architecture; enforcing the modularity, illustrated by the client-server paradigm; naming, illustrated by naming in the Internet; enforcement of consumer-producer rules, and so on. We first review some basic ideas regarding communication in the Internet, then illustrate the client-server paradigm, and finally give an example of a multi-threaded server. 2 Communication in the Internet Figure 1 illustrates the Internet protocols. IP address serves two functions: host identification and location addressing. All communi- cation in the Internet must use the IP protocol. The IP addresses are used by the IP protocol to route messages from source to the destination through the Internet IPv4 uses 32-bit addresses; the address space is limited to 4,294,967,296 (232) possible unique addresses. Addresses for special purposes: private networks ( 18 million addresses); multicast ad- dresses ( 270 million addresses). Addresses represented in dot-decimal notation e.g., 218.96.17.12). IPv6 uses 64-bit addresses; the address space is limited to 2 64 possible unique addresses. Figure Figure 2 illustrates message delivery to hosts and processes. 3 The Client-Server Paradigm Figure 3 illustrates the communication supporting a client-server paradigm. 4 Communication in the Internet IP address serves two functions: host identification and location addressing. All communication in the Internet must use the IP protocol. The IP addresses are used by the IP protocol to route messages from source to the destination through the Internet IPv4 uses 32-bit addresses; the address space is limited to 4,294,967,296 (232) possible unique addresses. Addresses for special purposes: private networks ( 18 million addresses); multicast ad- dresses ( 270 million addresses). Addresses represented in dot-decimal notation e.g., 218.96.17.12). IPv6 uses 64-bit addresses; the address space is limited to 2 64 possible unique addresses. No flag day 1 5 The Wold Wide Web is a well known application of the client- server model The Hypertext Transfer Protocol (HTTP) is an application protocol used by the World Wide Web.The Hypertext Transfer Protocol (HTTP) is an application protocol used by the World Wide Web....
View Full Document

This note was uploaded on 07/30/2011 for the course COP 4600 taught by Professor Montagne during the Spring '08 term at University of Central Florida.

Page1 / 10

ClientServerExample - The skeleton of a simple HTTP server...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online