Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-04-06
4
723 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
4 Comments
 
LVL 4

Expert Comment

by:oumer
ID: 10769404
0
 
LVL 4

Accepted Solution

by:
oumer earned 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
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.

807 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