Question: In this project, you are required to create an ECHO client/server program of the UDP socket type. You need put up a simple client/server application

In this project, you are required to create an ECHO client/server program of the UDP socket type.

You need put up a simple client/server application to accomplish the following function:

Server side program should echo back the client with the packet's data.

User(e.g. me) runs the client program to connect to server. Client program reads and sets a file packet to the server.

Upon receipt of the local file and command, the client then listens for the received echo packer received from the server.

Client program then saves the echoed packets and stores the output to an all new file (output.dat)

You need to build this application on top of UDP sockets. Your server should

support at these commands:

server runs -> ./server port_#

client runs-> ./client server_ip server_port mtu in_file_path out_file_path

an example of the commands would be

./server 8080

./client 10.10.1.1 8080 128 directory/testfile outfile

You also need to provide a document describing your protocol, i.e., underlying transport layer

service, port numbers, the order and format of message sent and received by client/server, action

associated with each message, etc.

This program is preferred to be written in C.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!