Ch 24

Preview:

Citation preview

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Application LayerApplication Layer

PART VIPART VI

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Position of application layer

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Network layer duties

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Chapters

Chapter 24 Client-Server Model

Chapter 25 Domain Name System

Chapter 26 SMTP and FTP

Chapter 27 HTTP and WWW

Chapter 28 Multimedia

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Chapter 24

Client-ServerModel:

Socket Interface

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

24.1 Client-Server Model24.1 Client-Server Model

Relationship

Concurrency

Processes

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.1 Client-server model

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.2 Client-server relationship

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.3 Connectionless iterative server

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.4 Connection-oriented concurrent server

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

24.2 Socket Interface24.2 Socket Interface

Sockets

Connectionless Iterative Server

Connection-Oriented Server

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.5 Socket structure

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.6 Socket types

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.7 Socket interface for connectionless iterative server

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 24.8 Socket interface for connection-oriented concurrent server