Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This problem involves implementing a remote shell tool using the standard model for network application, Client-Server model. You will write a server process that will

This problem involves implementing a remote shell tool using the standard model for network application, Client-Server model.

You will write a server process that will be started on a Linux computer system. The server process will initialize itself and go to sleep waiting for a client process to conduct it, requesting for running and giving the output for a command.

The client process is started, either on the same machine or on soem other system that is connected to the server's system with a network. You will use 4.3 BSD Sockets and the TCP/IP protocol to communicate between client and server.

Server program: The server program must be executed in the background. It goes to sleep until a client wants to connect on that specific address. When the server process has finished providing its service to the client process, it goes back to sleep waiting for the next client request to arrive. Example command: ./server&

This is an example command for execution of the server program on any Linux machines, in background mode (&).

Client program: A unique PORT number will be used on which you will run your program. (The port number I need to use is 12008). For the client, you can telnet to the machine running your server process using its IP address and the port number. Example: 131.230.133.147:12008

You can also write a separate client program. For the client program, name of the host machine running the server program must be passed to the client on the command line.

The server needs to run on a linux machine and the client can be conected from either a Linux or Windows machine. Also the server should acept multiple client connections simulataneously.

(It needs to be in C.)

This program needs to be able to use the basic linux commands like ls, pwd, ps, etc.

Thank you for your help!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

In Problems 6584, solve each equation. 3x ex = e-x

Answered: 1 week ago

Question

3. What are potential solutions?

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago