YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: CHAPTE R 3 Network Programming & Applications

CHAPTER 3Network Programming &

Applications

CECS 474 Computer Network Interoperability

Notes for Douglas E. Comer, Computer Networks and Internets (5th Edition)

Tracy Bradley Maples, Ph.D.Computer Engineering & Computer ScienceCal ifornia State University, Long Beach

Page 2: CHAPTE R 3 Network Programming & Applications

Central Theme of Chapter A programmer can create Internet application software without understanding the underlying network technology or communication protocols.

 Two Paradigms of Internet Use

Applications use TCP/IP to run on the Internet. TCP offers two paradigms for data transmission:

Transmission Control Protocol (TCP) User Datagram Protocol (UDP)

Page 3: CHAPTE R 3 Network Programming & Applications

Client-Server Architecture Defn: A server is an application program that waits for contact from another application. 

Defn: A client is an application program that initiates contact with a server.

Page 4: CHAPTE R 3 Network Programming & Applications

Client-Server Interaction 

Page 5: CHAPTE R 3 Network Programming & Applications

Client-Server Interaction 

Client-Server bottlenecks at servers can be addressed by distributed server locations or using a to Peer-to-Peer Protocols instead.

Page 6: CHAPTE R 3 Network Programming & Applications

Peer-To-Peer Architectures Peer-to-Peer (p2p) architectures are created to avoid the bottlenecks that are often created in Client/Server networks. In p2p networks, the data is distributed evenly among a set of N servers, with each server providing 1/N of the data.

Page 7: CHAPTE R 3 Network Programming & Applications

Application Program Interface Defn: An Application Program Interface (API) is a set of high-level operations available for use by an application programmer. The API specifies the arguments for each operation as well as the semantics. Most client-server applications are written using API’s that are written specifically for network communication.


Related Documents