Skip to content

This project depicts a client-server model. This project uses linux's system API. In this project, the client makes requests to the server and in return the server caters the requests and sends response to clients. The server is multi-client so it can cater multiple client together simultaneous.

abdullahaahmed0539/Client-Server-model-using-linux-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client-Server-model-using-linux-API

This project depicts a client-server model. This project uses linux's system API. In this project, the client makes requests to the server and in return the server caters the requests and sends response to clients. The server is multi-client so it can cater multiple client, on different machines, together simultaneous.

The project has two user modes:

  1. Client
  2. Super User (runs instructions directly on server)
  1. Client: The client can run following commands on client terminal: • add : adds the provided list of numbers.(make sure to press spacebar before pressing enter) • sub : subtracts the provided list of numbers.(make sure to press spacebar before pressing enter) • mul : multiplies the provided list of numbers.(make sure to press spacebar before pressing enter) • div : divides the provided list of numbers.(make sure to press spacebar before pressing enter) • run : opens the application, whose name is provided, on server side . • list active: lists all the active running apps with their process ids, app name, start time. • list all: lists all the apps, which were ever opened, with their process ids, app name, start time, end time. • kill : kills the application having process id provided. • kill : kills the application having process name provided. • exit : terminates the client.

  2. Server: The super user can run following commands on server terminal: • list all : lists all the applications currently opened on server by all clients. • list : lists all the applications currently opened on server by the client whose id is provided. • print : prints message on every client's terminal. • print : prints message on client's terminal whose id is provided.

About

This project depicts a client-server model. This project uses linux's system API. In this project, the client makes requests to the server and in return the server caters the requests and sends response to clients. The server is multi-client so it can cater multiple client together simultaneous.

Topics

Resources

Stars

Watchers

Forks

Languages