Page 1 of 1

Consider four different types of inter-process communication. (1) Pipe: implemented with pipe( ), read( ), and write( )

Posted: Mon May 09, 2022 5:59 am
by answerhappygod
Consider four different types of inter-process communication.
(1) Pipe: implemented with pipe( ), read( ), and write( ) system
calls
(2) Socket: implemented with socket( ), read( ), and write( )
system calls
(3) Shared memory: implemented with shmget( ), shmat( ), and
variables read/write
(4) Shared message queues: implemented with msgget( ), msgsnd(
), and msgrcv( )
A. Which types are based on indirect communication? List all the
implementations.
B. Which types of communication do not require parent/child
process relationship?
C. If we code a producer/consumer program, which types of
communication require us to implement process synchronization?
D. Which types of communication can be used to communicate with
a process running on a remote computer?
E. Which types of communication must use file
descriptors.
F. Which types of communication needs to define data
structure(s) rather than use byte streams when transferring
data?
G. Which types of communication is the fastest?
H. Which types of communication establishes a duplex
communication channel?