Question
Develop a client and server responsible for a file transfer utilizing UDP. the client sends a local file to the server and the server will
Develop a client and server responsible for a file transfer utilizing UDP. the client sends a local file to the server and the server will then reassemble and save the file locally. You must also account for the packets being re-ordered or being lost in transit to the server for when a connection drops for example. If a file is dropped, print a line to stderr for it.
The client must be started by the command: ./client server.ip server.port mtu winsz in_file_path out_file_path
An example for the server and client starting up is
./server 9090 0
./client 10.10.0.1 9090 512 10 dir/file outfile
Done in C
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