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
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
Please help me
Thank You
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Why did you give oumer a "C" grade? Please see the grading guidelines at https://www.experts-exchange.com/help.jsp#hi73.
Turn123
http://www.cs.rpi.edu/courses/fall02/netprog/notes/javaudp/javaudp.pdf
tftp
http://www.faqs.org/rfcs/rfc1350.html