Question: Now Tom and Jane want to develop two simple programs that can pass messages with each other. Please guide them to take a modular approach
Now Tom and Jane want to develop two simple programs that can pass messages with each other. Please guide them to take a modular approach where, application logic is separate from underlying communication mechanism. Is it possible to use pipe or named pipe? When theycan use pipe and when they areforced to use named pipeNow replace named pipe with IPC Inter Process CommunicationAlso explore a common file based approach with signal passing mechanism for notification and synchronization. Now replace file based approach with UDS Unix Domain SocketIs it possible to run both programme on two different laptops? Howto use network domain sockets?Nowboth of them have developed a pretty decent code using advanced IDEs. Please help them with installation of git as SCM Software Code Management system and few basic commands for the same.Approach to solve: Write a pipe based communication between process and its child. Use name pipe to create two programs interact with each other.Use IPC mechanism to interact between two processes. Unix Sockets can be used to interact between two remote servers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
