How to make UDP (datagram) trasmission reliable in java socket programming
Posted on 2004-04-06
I wonder if anybody could help me. i am writing simple TFTP client program in java through UDP socket, whose function is to just issue read request to the server and get the required file from the server. I want to add the reliable(Datagram) functionalty in my program.
How i can do this, I know about UDP Header and its fields,like offset,Acknowlodgement, checksum, operation modes,opcode etc , but it all confusing to me specially it terms of implementing reliablity.
Is there any good resoure on internet regarding UDP socket programing in java, because i have searched a lot on internet but couldn't find any thing about how to make UDP connection transmisson reliable ,How to create RRQ(READ REQUEST)and ACK(ACKNOWLODGEMENT)packet.I i have found is a simple UDPEcho Server.
Please help me