How to make a reliable file transfer program with UDP?
Posted on 2012-03-23
I'm trying to make a reliable file transfer program with UDP in Java, I realize that this is redundant because TCP sockets are available in Java, but this is a class assignment.
I made a simple program that sends UDP packets, but files kinda get messed up sometimes since UDP isn't reliable, is there a simple way to send name-value pairs with UDP? So I can rearrange the file according to the sequence number?
Appreciate any help on this!