Danh mục

Lecture TCP-IP protocol suite - Chapter 15: Application layer and client-server model

Số trang: 20      Loại file: ppt      Dung lượng: 499.00 KB      Lượt xem: 7      Lượt tải: 0    
Hoai.2512

Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

This chapter is an introduction to the application layer. In the next eight chapters we introduce common client-server applications used in the Internet. In this chapter, we give a general picture of how a client-server program is designed and give some simple codes of their implementation. The area of network programming is a very vast and complicated one; it cannot be covered in one chapter. We need to give a bird’s-eye view of this discipline to make the contents of the next eight chapters easier to understand.
Nội dung trích xuất từ tài liệu:
Lecture TCP-IP protocol suite - Chapter 15: Application layer and client-server model Chapter15 ApplicationLayer and ClientServer ModelMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS •CLIENTSERVERMODEL •CONCURRENCY •PROCESSESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure151 Comparison between OSI and TCP/IPMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 15.1 CLIENT-SERVER MODELMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure152 Client-server modelMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure153 Client-server relationshipMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 15.2 CONCURRENCYMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure154 Server typesMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure155 Connectionless iterative serverMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure156 Connection-oriented concurrent serverMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 15.3 PROCESSESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure157 Programs and processesMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure148 Prototype for the getpid functionMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure159 A program that prints its own processidMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1410 Prototype for the fork functionMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1411 A program with one parent and one childMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1512 A program with two fork functionsMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1513 The output of the program in Figure 15.12McGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1514 A program that prints the processids of the parent and the childMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure1515 Example of a server program with parent and child processesMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000

Tài liệu được xem nhiều: