Q.2 You need to create a chat program between two processes P1 & P2, where process P2 will start the communication and sends a message as the writer and the process P1 would read it, and then process

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter13: Internet And Distributed Application Services
Section: Chapter Questions
Problem 5VE
icon
Related questions
Topic Video
Question
Computer Science
Q.2 You need to create a chat program
between two processes P1 & P2, where
process P2 will start the communication
and sends a message as the writer and the
process P1 would read it, and then process
P1 will write a message for process P2 and
process P2 will read it. It should be in an
infinite loop. You have to add an exit
condition to end the chat
P1
P2
Transcribed Image Text:Computer Science Q.2 You need to create a chat program between two processes P1 & P2, where process P2 will start the communication and sends a message as the writer and the process P1 would read it, and then process P1 will write a message for process P2 and process P2 will read it. It should be in an infinite loop. You have to add an exit condition to end the chat P1 P2
Expert Solution
steps

Step by step

Solved in 6 steps with 8 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning