Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-04-06
4
Medium Priority
?
729 Views
Last Modified: 2009-04-16
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
0
Comment
Question by:Rafi-muqaddar
  • 2
3 Comments
 
LVL 4

Expert Comment

by:oumer
ID: 10769404
0
 
LVL 4

Accepted Solution

by:
oumer earned 1000 total points
ID: 10769494
0
 
LVL 11

Expert Comment

by:turn123
ID: 10940794
Rafi-muqaddar,

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

Turn123
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question