application layer

34
The Application Layer

Upload: vipin-nagar

Post on 17-Aug-2015

43 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Application layer

The Application Layer

Page 2: Application layer

DNS – The Domain Name System

• The DNS Name Space

• Resource Records

• Name Servers

Page 3: Application layer

The DNS Name Space

A portion of the Internet domain name space.

Page 4: Application layer

Resource Records

The principal DNS resource records types.

Page 5: Application layer

Resource Records (2)

A portion of a possible DNS database for cs.vu.nl.

Page 6: Application layer

Name Servers

Part of the DNS name space showing the division into zones.

Page 7: Application layer

Name Servers (2)

How a resolver looks up a remote name in eight steps.

Page 8: Application layer

Electronic Mail

• Architecture and Services

• The User Agent

• Message Formats

• Message Transfer

• Final Delivery

Page 9: Application layer

Electronic Mail (2)

Some smileys. They will not be on the final exam :-).

Page 10: Application layer

Architecture and Services

Basic functions• Composition• Transfer• Reporting• Displaying• Disposition

Page 11: Application layer

The User Agent

Envelopes and messages. (a) Paper mail. (b) Electronic mail.

Page 12: Application layer

Reading E-mail

An example display of the contents of a mailbox.

Page 13: Application layer

Message Formats – RFC 822

RFC 822 header fields related to message transport.

Page 14: Application layer

Message Formats – RFC 822 (2)

Some fields used in the RFC 822 message header.

Page 15: Application layer

MIME – Multipurpose Internet Mail Extensions

Problems with international languages:

• Languages with accents (French, German).

• Languages in non-Latin alphabets (Hebrew, Russian).

• Languages without alphabets (Chinese, Japanese).

• Messages not containing text at all (audio or images).

Page 16: Application layer

MIME (2)

RFC 822 headers added by MIME.

Page 17: Application layer

MIME (3)

The MIME types and subtypes defined in RFC 2045.

Page 18: Application layer

MIME (4)

A multipart message containing enriched and audio alternatives.

Page 19: Application layer

Message Transfer

Transferring a message from

[email protected] to [email protected].

Page 20: Application layer

Final Delivery

(a) Sending and reading mail when the receiver has a permanent Internet connection and the user agent runs on the same machine as the message transfer agent. (b) Reading e-mail when the receiver has a dial-up connection to an ISP.

Page 21: Application layer

POP3

Using POP3 to fetch three messages.

Page 22: Application layer

IMAP

A comparison of POP3 and IMAP.

Page 23: Application layer

The World Wide Web

• Architectural Overview

• Static Web Documents

• Dynamic Web Documents

• HTTP – The HyperText Transfer Protocol

• Performance Ehnancements

• The Wireless Web

Page 24: Application layer

Architectural Overview

(a) A Web page (b) The page reached by clicking on Department of Animal Psychology.

Page 25: Application layer

Architectural Overview (2)

The parts of the Web model.

Page 26: Application layer

The Client Side

(a) A browser plug-in. (b) A helper application.

Page 27: Application layer

The Server Side

A multithreaded Web server with a front end and processing modules.

Page 28: Application layer

The Server Side (2)

A server farm.

Page 29: Application layer

The Server Side (3)

(a) Normal request-reply message sequence.

(b) Sequence when TCP handoff is used.

Page 30: Application layer

URLs – Uniform Resource Locaters

Some common URLs.

Page 31: Application layer

HTTP Methods

The built-in HTTP request methods.

Page 32: Application layer

HTTP Methods (2)

The status code response groups.

Page 33: Application layer

HTTP Message Headers

Some HTTP message headers.

Page 34: Application layer

Example HTTP Usage

The start of the output of www.ietf.org/rfc.html.