• Home
  • Textbooks
  • Internetworking with TCP/IP: Pearson New International Edition
  • Client-Server Model Of Interaction

Internetworking with TCP/IP: Pearson New International Edition

Douglas E. Comer

Chapter 20

Client-Server Model Of Interaction - all with Video Answers

Educators


Chapter Questions

Problem 1

Build a UDP echo client that sends a datagram to a specified echo server, awaits a reply, and compares it to the original message.

Check back soon!

Problem 2

Carefully consider how a UDP echo server forms a reply. Under what conditions is it incorrect to create new IP addresses by reversing the source and destination IP addresses?

Check back soon!

Problem 3

Although most servers are implemented by separate application programs, an ICMP echo server is usually built into the protocol software in the operating system. What are the advantages and disadvantages of having an application program (user process) per server?

Check back soon!

Problem 4

Suppose you do not know the IP address of a local host computer that runs a UDP echo server, but you know that it responds to requests sent to port 7. Is there an IP address you can use to reach the server? Explain.

Check back soon!

Problem 5

Build a UDP client for the Internet time service, and demonstrate that it works correctly.

Check back soon!

Problem 6

Can a server run on the same physical host computer as a client? Explain.

Check back soon!
00:51

Problem 7

Consider a data center cluster with 200 computers. If each computer broadcasts its current load every 5 seconds and each message contains 240 octets of information (plus associated headers), how much network capacity is used by the broadcasts?

Kristen Karbon
Kristen Karbon
Numerade Educator

Problem 8

What servers are running on computers at your site? If you do not have access to system configuration files that list the servers started for a given computer, see if your system has a command that prints a list of open TCP and UDP ports (e.g., the UNIX netstat command).

Check back soon!

Problem 9

Some servers allow a manager to implement graceful shutdown or restart. What is the advantage of graceful server shutdown?

Check back soon!
02:16

Problem 10

Suppose a concurrent server follows the algorithm given in Figure 20.3 (on page 425). What vulnerability does such a server exhibit?

Jennifer Stoner
Jennifer Stoner
Numerade Educator