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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started