This preview shows page 1. Sign up to view the full content.
Unformatted text preview: and return its output to the client. The output produced by the executable at runtime is known as dynamic content, and the process of running the program and returning its output to the client is known as serving dynamic content. 648 CHAPTER 12. NETWORK PROGRAMMING Thus, every piece of content returned by a Web server is associated with some ﬁle that it manages. Each of these ﬁles has a unique name known as a URL (Universal Resource Locator). For example, the URL
http://www.aol.com:80/index.html identiﬁes an HTML ﬁle called /index.html on Internet host www.aol.com that is managed by a Web server listening on port 80. The port number is optional and defaults to well-known port 80. URLs for executable ﬁles can include program arguments after the ﬁlename. A ’?’ character separates the ﬁlename from the arguments, and each argument is separated by a ’&’ character. For example, the URL
http://kittyhawk.cmcl.cs.cmu.edu:8000/cgi-bin/adder?15000&213 identiﬁes an executable called /cgi-...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American