I'm implementing a basic file transfer system between a client and server, for practice using UDP. I'm trying to implement some basic reliability.
Right now my server sends a chunk of data, and waits for an acknowledgement signal saying the chunk was received. Is there a way to send a more robust message without the use of signals?
Ideally I'd like to just be able to use sendto and recvfrom, but in the off chance that no packets are received, then recvfrom would just hang.
Is this possible, or do I need to use signals?