Link to home
Start Free TrialLog in
Avatar of Rafi-muqaddar
Rafi-muqaddar

asked on

How to make UDP (datagram) trasmission reliable in java socket programming

Hi
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
Thank You
Avatar of oumer
oumer

ASKER CERTIFIED SOLUTION
Avatar of oumer
oumer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of turn123
Rafi-muqaddar,

Why did you give oumer a "C" grade?  Please see the grading guidelines at https://www.experts-exchange.com/help.jsp#hi73.

Turn123