C/C++ Expert

Job ID: 33566427

Budget: $2 – $8 USD

Explanation of the program:
The aim is to build a Reliable File Transfer (RFT) protocol that works on top of UDP to provide reliable delivery of a file between a client and a server. This will give you some insight into the implementation of reliable communications protocols. The library you develop will also show how a framework for communications can be parameterised by different protocol implementations.

You should implement the functions in the following order:
init_segment
set_udp_socket
read_data
send_metadata
send_data
set_socket_timeout
send_file_with_timeout

Do not edit any of the code, just only the functions.
There's also tests in the file, that the program should pass.