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?
Consider four different types of inter-process communication. (1) Pipe: implemented with pipe( ), read( ), and write( )
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider four different types of inter-process communication. (1) Pipe: implemented with pipe( ), read( ), and write( )
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!