当前位置:
文档之家› 计算机网络概论 英文版精品PPT课件
计算机网络概论 英文版精品PPT课件
1
Chapter 3
Internet Applications and
Network Programming
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
2
Topics Covered
• 3.1 Introduction • 3.2 Two Basic Internet Communication Paradigms • 3.3 Connection-Oriented Communication • 3.4 The Client-Server Model of Interaction • 3.5 Characteristics of Clients and Servers • 3.6 Server Programs and Server-Class Computers • 3.7 Requests, Responses, and Direction of Data Flow • 3.8 Multiple Clients and Multiple Servers • 3.9 Server Identification and Demultiplexing • 3.10 Concurrent Servers • 3.11 Circular Dependencies Among Servers • 3.12 Peer-to-Peer Interactions • 3.13 Network Programming and the Socket API
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
5
3.1 Introduction
• Internet application programmers can get started easily
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
3
Topics Covered
• 3.14 Sockets, Descriptors, and Network I/O • 3.15 Parameters and the Socket API • 3.16 Socket Calls in a Client and Server • 3.17 Socket Functions Used by Both Client and Server • 3.18 The Connection Function Used Only by a Client • 3.19 Socket Functions Used Only by a Server • 3.20 Socket Functions Used with the Message Paradigm • 3.21 Other Socket Functions • 3.22 Sockets, Threads, and Inheritance
– describes the conceptual paradigm that applications follow when they communicatesents the details of the socket Application Programming Interface (socket API) that Internet applications use
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
4
3.1 Introduction
• The Internet offers users a rich diversity of services
– none of the services is part of the underlying communication infrastructure
on computers attached to the Internet
• It is possible to devise new services without changing the Internet
• Chapter covers two key concepts of Internet applications:
Computer Networks and Internets, 5e By Douglas E. Comer
Lecture PowerPoints By Lami Kaya,
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
• It is possible to create Internet applications without knowing how networks operate
– However, understanding network protocols and technologies allows them to write efficient and reliable code that enables applications to scale across many sites
• Internet provides a general purpose mechanism on which
– all services are built – and individual services are supplied by application programs that run
• Later parts of the text provide the necessary information by explaining data communications and protocols used to form the Internet