Skip to content

TheFcat/inter-process-communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inter-process-communication

Description

Create a program that uses 4 processes as follows. The Server process will monitor keyboard input from the user, and send the data to all Client processes.

You can use any programming language you want.

Server

Accept user keyboard input. The user types integers and separate them by using [Space]. After clicking [Enter], server will write data to each clients via a socket, pipe, or the shared memory, respectively.

Client1

Reads intergers from the socket and calculate the Mean value of the integers.

Client2

Reads intergers from the pipe and calculate the Median value of the integers.

Client3

Reads intergers from the shared memory, and then calculating the Mode value of the integers.

How to use

Just execute server.py

python server.py

and input integers then press enter

integer input example: 5 5 7 8 9

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages