Question: Develop a UDP client and server for file transfer/file echo. The client reads and send a file to the server. The server echoes back to

Develop a UDP client and server for file transfer/file echo. The client reads and send a file to the server. The server echoes back to the client with the packet's data. The client is then on standby until it receives the server echoed packet which it(client) then copies the echoed packets and stores the output to an all new file.

Once the program is made the server must be started in Unix like so: ./server port_#

The client must then be started like so

./client server_ip server_port mtu in_file_path out_file_path

where mtu is the size of bytes for the packets.

An example of running the whole program would be:

./server 8080 ./client 10.10.1.1 8080 128 directory/testfile outfile

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!