Where can I find information on reliaable data transfer code with UDP in java

imported_nautique

Senior member
Jul 14, 2004
346
0
0
I need to implement a system (sender and recipient) that implements reliable data transfer of files (text and binary) using the UDP protocol. Problem is I need somewhere to start. Does anyone have any sites or books that I can reference to get started on this? Or any information that anyone thinks I should know about it would be helpful. Thanks
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
How stringent are the requirements? Do you have to recover from lost packets or just reorder the ones that do come in?
 

imported_nautique

Senior member
Jul 14, 2004
346
0
0
The protocol must handle lost, delayed, and out-of-order packets (it is not necessary to handle corrupted packets) and I have to use Go-back N, selective repeat or TCP style.

Any ideas?
 

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
LimeWire has a reliable UDP mechanism implemented in java. So checking out its source might be a good place to start.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Reading your textbook's chapter on tcp would also be useful. All the basic concepts would be explained and there should be blurbs on the parts that you're going to do differently (Go-back-N is an alternative to sliding window right?).