Use the programs developed in Exercise 4.5to test the effect on the sender when the receiver
crashes and vice-versa.

What will be an ideal response?


Run them both for a while and then kill first one and then the other. When the reader process crashes, the writer
gets IOException - broken pipe. When writer process crashes, the reader gets EOF exception.

Computer Science & Information Technology

You might also like to view...

A ________ management system is an application such as WordPress

Fill in the blank(s) with correct word

Computer Science & Information Technology

Effective speakers do not waste time preparing their verbal message that will accompany each slide.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?In a VoIP call, what method of transmission is used between two IP phones?

A. global multicast B. multicast C. unicast D. ?broadcast

Computer Science & Information Technology

A technician is building a new network. Which of the following components would be the FIRST installed for the network?

A. MDF B. VPN C. EMI D. IDF

Computer Science & Information Technology