SlideShare a Scribd company logo
1 of 90
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The Application Layer
Chapter 7
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
DNS – The Domain Name System
• The DNS name space
• Domain Resource records
• Name servers
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The DNS Name Space (1)
A portion of the Internet domain name space.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The DNS Name Space (2)
Generic top-level domains
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Domain Resource Records (1)
The principal DNS resource record types
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Domain Resource Records (2)
A portion of a possible DNS database for cs.vu.nl.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Name Servers (1)
Part of the DNS name space divided into zones
(which are circled).
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Name Servers (2)
Example of a resolver looking up a remote name in 10 steps.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Electronic Mail
• Architecture and services
• The user agent
• Message formats
• Message transfer
• Final delivery
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architecture and Services (1)
Architecture of the email system
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architecture and Services (2)
Envelopes and messages. (a) Paper mail. (b) Electronic mail.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The User Agent
Typical elements of the user agent interface
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Formats (1)
RFC 5322 header fields related to message transport.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Formats (2)
Some fields used in the RFC 5322 message header.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Formats (3)
Message headers added by MIME.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Formats (4)
MIME content types and example subtypes.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Transfer (1)
A multipart message containing HTML and audio alternatives.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Transfer (2)
A multipart message containing HTML and audio alternatives.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Transfer (3)
Sending a message from alice@cs.washington.edu to
bob@ee.uwa.edu.au.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Transfer (4)
Sending a message from alice@cs.washington.edu to
bob@ee.uwa.edu.au.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Message Transfer (5)
Some SMTP extensions.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Final Delivery (1)
IMAP (version 4) commands.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Final Delivery (2)
IMAP (version 4) commands.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The World Wide Web
• Architectural overview
• Static web pages
• Dynamic web pages, web applications
• The hypertext transfer protocol
• The mobile web
• Web search
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (1)
Architecture of the Web.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (2)
Three questions had to be answered
before a selected page could be displayed:
1. What is the page called?
2. Where is the page located?
3. How can the page be accessed?
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (3)
Steps that occur when link is selected:
1. Browser determines the URL
2. Browser asks DNS for the IP address of the server
3. DNS replies
4. The browser makes a TCP connection
5. Sends HTTP request for the page
6. Server sends the page as HTTP response
7. Browser fetches other URLs as needed
8. The browser displays the page
9. The TCP connections are released
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (4)
Some common URL schemes.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (5)
(a) A browser plug-in. (b) A helper application.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (6)
Steps server performs in main loop
1. Accept a TCP connection from client
2. Get path to page, name of file requested.
3. Get the file (from disk).
4. Send contents of the file to the client.
5. Release the TCP connection.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (7)
A multithreaded Web server with a front end
and processing modules.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (8)
A processing module performs a series of steps:
1. Resolve name of Web page requested.
2. Perform access control on the Web page.
3. Check the cache.
4. Fetch requested page from disk or run program
5. Determine the rest of the response
6. Return the response to the client.
7. Make an entry in the server log.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Architectural Overview (9)
Some examples of cookies
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Static Web Pages (1)
The HTML for a sample Web page.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Static Web Pages (2)
The formatted page.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Static Web Pages (3)
Some differences between HTML versions.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Static Web Pages (4)
The HTML for an order form.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Static Web Pages (5)
The formatted page.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (1)
Dynamic pages
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (2)
(a) A Web page containing a form. (b) A PHP script for handling
the output of the form. (c) Output from the PHP script when the
inputs are ‘‘Barbara’’ and ‘‘32’’, respectively.
(a)
(b)
(c)
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (3)
Use of JavaScript for processing a form.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (4)
(a) Server-side scripting with PHP.
(b) Client-side scripting withJavaScript.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (5)
AJAX Technologies
1. HTML and CSS: present information as pages.
2. DOM: change parts of pages while they are viewed.
3. XML: let programs exchange data with the server.
4. An asynchronous way to send and retrieve XML data.
5. JavaScript as a language to bind all this together.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (6)
The DOM tree for the HTML in Fig. 7-30(a).
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (7)
A simple XML document.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Dynamic Web Pages, Web Applications (8)
Various technologies used to generate dynamic pages.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (1)
HTTP with (a) multiple connections and sequential requests.
(b) A persistent connection and sequential requests.
(c) A persistent connection and pipelined requests.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (2)
The built-in HTTP request methods.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (3)
The status code response groups
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (4)
Some HTTP message headers.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (5)
Some HTTP message headers.
. . .
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The HyperText Transfer Protocol (6)
HTTP caching.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The Mobile Web (1)
Difficulties for mobile phones browsing the web
1. Relatively small screens
2. Limited input capabilities, lengthy input.
3. Network bandwidth is limited
4. Connectivity may be intermittent.
5. Computing power is limited
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
The Mobile Web (2)
The XHTML Basic modules and tags.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Audio and Video
• Digital audio
• Digital video
• Streaming stored media
• Streaming live media
• Real-time conferencing
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Audio (1)
(a) A sine wave. (b) Sampling the sine wave.
(c) Quantizing the samples to 4 bits.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Audio (2)
(a) The threshold of audibility as a function of frequency.
(b) The masking effect.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (1)
Steps in JPEG lossy sequential encoding.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (2)
(a) RGB input data. (b) After block preparation.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (3)
(a) One block of the Y matrix. (b) The DCT coefficients.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (4)
Computation of the quantized DCT coefficients.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (5)
The order in which the quantized values are transmitted.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (6)
MPEG output consists of three kinds of
frames:
a) I- (Intracoded) :
Self-contained compressed still pictures.
b) P- (Predictive) : Block-by-block difference
with previous frames.
c) B- (Bidirectional) : block-by-block
differences between previous and future
frames.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Digital Video (7)
Three consecutive frames
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (1)
Playing media over the Web via simple downloads.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (2)
Streaming media using the Web and a media server.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (3)
Major tasks of the media player:
1. Manage the user interface.
2. Handle transmission errors.
3. Decompress the content.
4. Eliminate jitter.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (4)
Using a parity packet to repair loss.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (5)
When packets carry alternate samples, the loss of
a packet reduces the temporal resolution
rather than creating a gap in time.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (6)
The media player buffers input from the media server and plays
from the buffer rather than directly from the network.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Stored Media (7)
RTSP commands from the player to the server.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Live Media (1)
Multicast streaming media with a parity packet.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Streaming Live Media (2)
A student radio station.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (1)
The H.323 architectural model for Internet telephony.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (2)
The H.323 protocol stack.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (3)
Logical channels between the caller and callee during a call.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (4)
SIP methods.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (5)
Use of a proxy server and redirection with SIP.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Real-Time Conferencing (6)
Comparison of H.323 and SIP.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Content Delivery
• Content and internet traffic
• Server farms and web proxies
• Content delivery networks
• Peer-to-peer networks
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Content and Internet Traffic
Zipf distribution (a) On a linear scale. (b) On a log-log scale.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Server Farms and Web Proxies (1)
A server farm.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Server Farms and Web Proxies (2)
A proxy cache between Web browsers and Web servers.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Content Delivery Networks (1)
CDN distribution tree.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Content Delivery Networks (2)
Directing clients to nearby CDN nodes using DNS.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Content Delivery Networks (3)
(a) Original Web page. (b) Same page after linking to the CDN
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Peer-to-Peer Networks (1)
Problems to be solved with BitTorrent sharing
1. How does a peer find other peers
2. How is content replicated by peers to
provide high-speed downloads
3. How do peers encourage each other to
upload content to others
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Peer-to-Peer Networks (2)
BitTorrent.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Peer-to-Peer Networks (3)
(a) A set of 32 node identifiers arranged in a circle. The shaded
ones correspond to actual machines. The arcs show the
fingers from nodes 1, 4 and 12. The labels on the arcs are the
table indices. (b) Examples of the finger tables.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
End
Chapter 7

More Related Content

Similar to Chapter7-ApplicationLayer.ppt-COMMUNICATION NETWORKS

web.pptx
web.pptxweb.pptx
web.pptxRDHead
 
Web server administration
Web server administrationWeb server administration
Web server administrationsawsan slii
 
Application layer
Application layerApplication layer
Application layerFarah Hunny
 
Web Server Admin Web Server Admin Web Server Admin Web Server Admin Web Serv...
Web Server Admin Web Server Admin Web Server Admin Web Server Admin  Web Serv...Web Server Admin Web Server Admin Web Server Admin Web Server Admin  Web Serv...
Web Server Admin Web Server Admin Web Server Admin Web Server Admin Web Serv...MrKarwega
 
Chapter1- Introduction to Computers and the Internet
Chapter1- Introduction to Computers and the InternetChapter1- Introduction to Computers and the Internet
Chapter1- Introduction to Computers and the InternetFatom Ahmad
 
E-commerce infrastructure the internet,web and mobile platform
E-commerce infrastructure the internet,web and mobile platformE-commerce infrastructure the internet,web and mobile platform
E-commerce infrastructure the internet,web and mobile platformAnand Paranthawam
 
Application layer
Application layerApplication layer
Application layerVipin Nagar
 
Web Architecture and Technologies
Web Architecture and TechnologiesWeb Architecture and Technologies
Web Architecture and TechnologiesFulvio Corno
 
laudon-traver_ec10_ppt_ch03 (1).ppt
laudon-traver_ec10_ppt_ch03 (1).pptlaudon-traver_ec10_ppt_ch03 (1).ppt
laudon-traver_ec10_ppt_ch03 (1).pptJithJoy2
 
Introduction to Basic Concepts in Web
Introduction to Basic Concepts in WebIntroduction to Basic Concepts in Web
Introduction to Basic Concepts in WebJussi Pohjolainen
 
web world wide defination introduction.pptx
web world wide defination introduction.pptxweb world wide defination introduction.pptx
web world wide defination introduction.pptxubaidullah75790
 
Ch12 the internert & mm
Ch12 the internert & mmCh12 the internert & mm
Ch12 the internert & mmSaba Siddique
 
The Internet and World Wide Web
The Internet and World Wide WebThe Internet and World Wide Web
The Internet and World Wide Webwebhostingguy
 
REST in AEM by Roy Fielding
REST in AEM by Roy FieldingREST in AEM by Roy Fielding
REST in AEM by Roy FieldingAEM HUB
 

Similar to Chapter7-ApplicationLayer.ppt-COMMUNICATION NETWORKS (20)

mmWeb
mmWebmmWeb
mmWeb
 
web.pptx
web.pptxweb.pptx
web.pptx
 
Web server administration
Web server administrationWeb server administration
Web server administration
 
Application layer
Application layerApplication layer
Application layer
 
Web Server Admin Web Server Admin Web Server Admin Web Server Admin Web Serv...
Web Server Admin Web Server Admin Web Server Admin Web Server Admin  Web Serv...Web Server Admin Web Server Admin Web Server Admin Web Server Admin  Web Serv...
Web Server Admin Web Server Admin Web Server Admin Web Server Admin Web Serv...
 
Chapter1- Introduction to Computers and the Internet
Chapter1- Introduction to Computers and the InternetChapter1- Introduction to Computers and the Internet
Chapter1- Introduction to Computers and the Internet
 
E-commerce infrastructure the internet,web and mobile platform
E-commerce infrastructure the internet,web and mobile platformE-commerce infrastructure the internet,web and mobile platform
E-commerce infrastructure the internet,web and mobile platform
 
Application layer
Application layerApplication layer
Application layer
 
Computer networks
Computer networksComputer networks
Computer networks
 
Web Architecture and Technologies
Web Architecture and TechnologiesWeb Architecture and Technologies
Web Architecture and Technologies
 
laudon-traver_ec10_ppt_ch03 (1).ppt
laudon-traver_ec10_ppt_ch03 (1).pptlaudon-traver_ec10_ppt_ch03 (1).ppt
laudon-traver_ec10_ppt_ch03 (1).ppt
 
Web
WebWeb
Web
 
Introduction to Basic Concepts in Web
Introduction to Basic Concepts in WebIntroduction to Basic Concepts in Web
Introduction to Basic Concepts in Web
 
web world wide defination introduction.pptx
web world wide defination introduction.pptxweb world wide defination introduction.pptx
web world wide defination introduction.pptx
 
UNIT 1 (8).pptx
UNIT 1 (8).pptxUNIT 1 (8).pptx
UNIT 1 (8).pptx
 
Daley7 ppt 07
Daley7 ppt 07Daley7 ppt 07
Daley7 ppt 07
 
Ch12 the internert & mm
Ch12 the internert & mmCh12 the internert & mm
Ch12 the internert & mm
 
The Internet and World Wide Web
The Internet and World Wide WebThe Internet and World Wide Web
The Internet and World Wide Web
 
REST in AEM by Roy Fielding
REST in AEM by Roy FieldingREST in AEM by Roy Fielding
REST in AEM by Roy Fielding
 
REST in AEM
REST in AEMREST in AEM
REST in AEM
 

More from ponni2

TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptxponni2
 
TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptxponni2
 
TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptxponni2
 
Review Meeting – LH.pptx
Review Meeting –  LH.pptxReview Meeting –  LH.pptx
Review Meeting – LH.pptxponni2
 
EC8072 UNIT IV.pptx
EC8072 UNIT IV.pptxEC8072 UNIT IV.pptx
EC8072 UNIT IV.pptxponni2
 
Review Meeting – LH.pptx
Review Meeting –  LH.pptxReview Meeting –  LH.pptx
Review Meeting – LH.pptxponni2
 
1st review project final...1 (1).pptx
1st review project final...1 (1).pptx1st review project final...1 (1).pptx
1st review project final...1 (1).pptxponni2
 
dental machine.ppt
dental machine.pptdental machine.ppt
dental machine.pptponni2
 
R.PONNI -EMIC -PPT 3.2.2023.pptx
R.PONNI -EMIC -PPT 3.2.2023.pptxR.PONNI -EMIC -PPT 3.2.2023.pptx
R.PONNI -EMIC -PPT 3.2.2023.pptxponni2
 
APD.ppt
APD.pptAPD.ppt
APD.pptponni2
 
R.PONNI -EMIC -PPT 11.2.2023.pptx
R.PONNI -EMIC -PPT 11.2.2023.pptxR.PONNI -EMIC -PPT 11.2.2023.pptx
R.PONNI -EMIC -PPT 11.2.2023.pptxponni2
 
DIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxDIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxponni2
 
EC8072 UNIT V .pptx
EC8072 UNIT V .pptxEC8072 UNIT V .pptx
EC8072 UNIT V .pptxponni2
 
unit1 IPORTANT.pptx
unit1 IPORTANT.pptxunit1 IPORTANT.pptx
unit1 IPORTANT.pptxponni2
 
unit-ii ppt.pptx
unit-ii ppt.pptxunit-ii ppt.pptx
unit-ii ppt.pptxponni2
 
UNIT-I.pptx
UNIT-I.pptxUNIT-I.pptx
UNIT-I.pptxponni2
 
unit v.pptx
unit v.pptxunit v.pptx
unit v.pptxponni2
 
Kraz_Presentation.ppt
Kraz_Presentation.pptKraz_Presentation.ppt
Kraz_Presentation.pptponni2
 
ch06d.ppt
ch06d.pptch06d.ppt
ch06d.pptponni2
 
study_of_Bio_potential_Electrodes.ppt
study_of_Bio_potential_Electrodes.pptstudy_of_Bio_potential_Electrodes.ppt
study_of_Bio_potential_Electrodes.pptponni2
 

More from ponni2 (20)

TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptx
 
TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptx
 
TENS,GAIT.pptx
TENS,GAIT.pptxTENS,GAIT.pptx
TENS,GAIT.pptx
 
Review Meeting – LH.pptx
Review Meeting –  LH.pptxReview Meeting –  LH.pptx
Review Meeting – LH.pptx
 
EC8072 UNIT IV.pptx
EC8072 UNIT IV.pptxEC8072 UNIT IV.pptx
EC8072 UNIT IV.pptx
 
Review Meeting – LH.pptx
Review Meeting –  LH.pptxReview Meeting –  LH.pptx
Review Meeting – LH.pptx
 
1st review project final...1 (1).pptx
1st review project final...1 (1).pptx1st review project final...1 (1).pptx
1st review project final...1 (1).pptx
 
dental machine.ppt
dental machine.pptdental machine.ppt
dental machine.ppt
 
R.PONNI -EMIC -PPT 3.2.2023.pptx
R.PONNI -EMIC -PPT 3.2.2023.pptxR.PONNI -EMIC -PPT 3.2.2023.pptx
R.PONNI -EMIC -PPT 3.2.2023.pptx
 
APD.ppt
APD.pptAPD.ppt
APD.ppt
 
R.PONNI -EMIC -PPT 11.2.2023.pptx
R.PONNI -EMIC -PPT 11.2.2023.pptxR.PONNI -EMIC -PPT 11.2.2023.pptx
R.PONNI -EMIC -PPT 11.2.2023.pptx
 
DIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxDIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptx
 
EC8072 UNIT V .pptx
EC8072 UNIT V .pptxEC8072 UNIT V .pptx
EC8072 UNIT V .pptx
 
unit1 IPORTANT.pptx
unit1 IPORTANT.pptxunit1 IPORTANT.pptx
unit1 IPORTANT.pptx
 
unit-ii ppt.pptx
unit-ii ppt.pptxunit-ii ppt.pptx
unit-ii ppt.pptx
 
UNIT-I.pptx
UNIT-I.pptxUNIT-I.pptx
UNIT-I.pptx
 
unit v.pptx
unit v.pptxunit v.pptx
unit v.pptx
 
Kraz_Presentation.ppt
Kraz_Presentation.pptKraz_Presentation.ppt
Kraz_Presentation.ppt
 
ch06d.ppt
ch06d.pptch06d.ppt
ch06d.ppt
 
study_of_Bio_potential_Electrodes.ppt
study_of_Bio_potential_Electrodes.pptstudy_of_Bio_potential_Electrodes.ppt
study_of_Bio_potential_Electrodes.ppt
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 

Chapter7-ApplicationLayer.ppt-COMMUNICATION NETWORKS

  • 1. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7
  • 2. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 DNS – The Domain Name System • The DNS name space • Domain Resource records • Name servers
  • 3. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The DNS Name Space (1) A portion of the Internet domain name space.
  • 4. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The DNS Name Space (2) Generic top-level domains
  • 5. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Domain Resource Records (1) The principal DNS resource record types
  • 6. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Domain Resource Records (2) A portion of a possible DNS database for cs.vu.nl.
  • 7. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Name Servers (1) Part of the DNS name space divided into zones (which are circled).
  • 8. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Name Servers (2) Example of a resolver looking up a remote name in 10 steps.
  • 9. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Electronic Mail • Architecture and services • The user agent • Message formats • Message transfer • Final delivery
  • 10. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architecture and Services (1) Architecture of the email system
  • 11. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architecture and Services (2) Envelopes and messages. (a) Paper mail. (b) Electronic mail.
  • 12. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The User Agent Typical elements of the user agent interface
  • 13. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (1) RFC 5322 header fields related to message transport.
  • 14. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (2) Some fields used in the RFC 5322 message header.
  • 15. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (3) Message headers added by MIME.
  • 16. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (4) MIME content types and example subtypes.
  • 17. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (1) A multipart message containing HTML and audio alternatives. . . .
  • 18. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (2) A multipart message containing HTML and audio alternatives. . . .
  • 19. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (3) Sending a message from alice@cs.washington.edu to bob@ee.uwa.edu.au. . . .
  • 20. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (4) Sending a message from alice@cs.washington.edu to bob@ee.uwa.edu.au. . . .
  • 21. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (5) Some SMTP extensions.
  • 22. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Final Delivery (1) IMAP (version 4) commands. . . .
  • 23. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Final Delivery (2) IMAP (version 4) commands. . . .
  • 24. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The World Wide Web • Architectural overview • Static web pages • Dynamic web pages, web applications • The hypertext transfer protocol • The mobile web • Web search
  • 25. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (1) Architecture of the Web.
  • 26. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (2) Three questions had to be answered before a selected page could be displayed: 1. What is the page called? 2. Where is the page located? 3. How can the page be accessed?
  • 27. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (3) Steps that occur when link is selected: 1. Browser determines the URL 2. Browser asks DNS for the IP address of the server 3. DNS replies 4. The browser makes a TCP connection 5. Sends HTTP request for the page 6. Server sends the page as HTTP response 7. Browser fetches other URLs as needed 8. The browser displays the page 9. The TCP connections are released
  • 28. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (4) Some common URL schemes.
  • 29. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (5) (a) A browser plug-in. (b) A helper application.
  • 30. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (6) Steps server performs in main loop 1. Accept a TCP connection from client 2. Get path to page, name of file requested. 3. Get the file (from disk). 4. Send contents of the file to the client. 5. Release the TCP connection.
  • 31. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (7) A multithreaded Web server with a front end and processing modules.
  • 32. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (8) A processing module performs a series of steps: 1. Resolve name of Web page requested. 2. Perform access control on the Web page. 3. Check the cache. 4. Fetch requested page from disk or run program 5. Determine the rest of the response 6. Return the response to the client. 7. Make an entry in the server log.
  • 33. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (9) Some examples of cookies
  • 34. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (1) The HTML for a sample Web page.
  • 35. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (2) The formatted page.
  • 36. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (3) Some differences between HTML versions.
  • 37. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (4) The HTML for an order form.
  • 38. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (5) The formatted page.
  • 39. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (1) Dynamic pages
  • 40. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (2) (a) A Web page containing a form. (b) A PHP script for handling the output of the form. (c) Output from the PHP script when the inputs are ‘‘Barbara’’ and ‘‘32’’, respectively. (a) (b) (c)
  • 41. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (3) Use of JavaScript for processing a form.
  • 42. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (4) (a) Server-side scripting with PHP. (b) Client-side scripting withJavaScript.
  • 43. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (5) AJAX Technologies 1. HTML and CSS: present information as pages. 2. DOM: change parts of pages while they are viewed. 3. XML: let programs exchange data with the server. 4. An asynchronous way to send and retrieve XML data. 5. JavaScript as a language to bind all this together.
  • 44. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (6) The DOM tree for the HTML in Fig. 7-30(a).
  • 45. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (7) A simple XML document.
  • 46. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (8) Various technologies used to generate dynamic pages.
  • 47. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (1) HTTP with (a) multiple connections and sequential requests. (b) A persistent connection and sequential requests. (c) A persistent connection and pipelined requests.
  • 48. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (2) The built-in HTTP request methods.
  • 49. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (3) The status code response groups
  • 50. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (4) Some HTTP message headers. . . .
  • 51. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (5) Some HTTP message headers. . . .
  • 52. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (6) HTTP caching.
  • 53. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (1) Difficulties for mobile phones browsing the web 1. Relatively small screens 2. Limited input capabilities, lengthy input. 3. Network bandwidth is limited 4. Connectivity may be intermittent. 5. Computing power is limited
  • 54. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (2) The XHTML Basic modules and tags.
  • 55. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Audio and Video • Digital audio • Digital video • Streaming stored media • Streaming live media • Real-time conferencing
  • 56. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Audio (1) (a) A sine wave. (b) Sampling the sine wave. (c) Quantizing the samples to 4 bits.
  • 57. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Audio (2) (a) The threshold of audibility as a function of frequency. (b) The masking effect.
  • 58. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (1) Steps in JPEG lossy sequential encoding.
  • 59. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (2) (a) RGB input data. (b) After block preparation.
  • 60. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (3) (a) One block of the Y matrix. (b) The DCT coefficients.
  • 61. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (4) Computation of the quantized DCT coefficients.
  • 62. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (5) The order in which the quantized values are transmitted.
  • 63. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (6) MPEG output consists of three kinds of frames: a) I- (Intracoded) : Self-contained compressed still pictures. b) P- (Predictive) : Block-by-block difference with previous frames. c) B- (Bidirectional) : block-by-block differences between previous and future frames.
  • 64. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (7) Three consecutive frames
  • 65. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (1) Playing media over the Web via simple downloads.
  • 66. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (2) Streaming media using the Web and a media server.
  • 67. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (3) Major tasks of the media player: 1. Manage the user interface. 2. Handle transmission errors. 3. Decompress the content. 4. Eliminate jitter.
  • 68. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (4) Using a parity packet to repair loss.
  • 69. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (5) When packets carry alternate samples, the loss of a packet reduces the temporal resolution rather than creating a gap in time.
  • 70. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (6) The media player buffers input from the media server and plays from the buffer rather than directly from the network.
  • 71. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (7) RTSP commands from the player to the server.
  • 72. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Live Media (1) Multicast streaming media with a parity packet.
  • 73. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Live Media (2) A student radio station.
  • 74. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (1) The H.323 architectural model for Internet telephony.
  • 75. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (2) The H.323 protocol stack.
  • 76. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (3) Logical channels between the caller and callee during a call.
  • 77. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (4) SIP methods.
  • 78. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (5) Use of a proxy server and redirection with SIP.
  • 79. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (6) Comparison of H.323 and SIP.
  • 80. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery • Content and internet traffic • Server farms and web proxies • Content delivery networks • Peer-to-peer networks
  • 81. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content and Internet Traffic Zipf distribution (a) On a linear scale. (b) On a log-log scale.
  • 82. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Server Farms and Web Proxies (1) A server farm.
  • 83. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Server Farms and Web Proxies (2) A proxy cache between Web browsers and Web servers.
  • 84. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (1) CDN distribution tree.
  • 85. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (2) Directing clients to nearby CDN nodes using DNS.
  • 86. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (3) (a) Original Web page. (b) Same page after linking to the CDN
  • 87. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (1) Problems to be solved with BitTorrent sharing 1. How does a peer find other peers 2. How is content replicated by peers to provide high-speed downloads 3. How do peers encourage each other to upload content to others
  • 88. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (2) BitTorrent.
  • 89. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (3) (a) A set of 32 node identifiers arranged in a circle. The shaded ones correspond to actual machines. The arcs show the fingers from nodes 1, 4 and 12. The labels on the arcs are the table indices. (b) Examples of the finger tables.
  • 90. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 End Chapter 7