udp error detection

Hey,

just a few quick question im not too sure in how this works:

UDP isnt connection orientated... correct?
UDP offers no Error detection......correct?

Design and Specify an Application Level Single-Shot-Protocol that will provide reliable delivery of individual single component messages over IP networks.


1.       i was thinking about
         firstly a timeout? but as i am a complete begginer how would i calculate an appropriate
         time to time out! i really have very limited knowledge so please explain everything ie
          acronyms etc.

2.        also the extra protocol that im designing would appear in the Application level? is that
           correct?

3,        also when passing packets how would the end user know that they havent recieved a
           packet because from wat i can gather UDP doesnt number the packlets like TCP. Would i
          have to do this in the protocol im designing or is there a way around this.

4.        How does the header work in UDP? is there any extra bites that could be used to pass info
           around to help in error detections

5.        or am i completely wrong! if so please help!

6.        and one last Q WHAT IS A SINGLE SHOT PROTOCOL?

CAN SUM1 PLEASE TELL ME WHERE TO START WITH THIS AND HOW I SHOULD GO ABOUT THIS!

thank u

FolletteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PennGwynCommented:
> UDP isnt connection orientated... correct?

  Correct.  There is nothing in the UDP layer to link packets together in a session (HINT).

> UDP offers no Error detection......correct?

  Incorrect.  A checksum allows corrupted UDP packets to be detected and discarded.
  UDP provides no inherent mechanism for signalling an error back to the sender and requesting retransmission (HINT).

Both of these are also true of IP, but are added on top of IP by TCP.  So it is possible to build something that would add these features on top of UDP, and that's what your course has asked you to do.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FolletteAuthor Commented:
Im reading up on UDP and have a few more little questions:

what is a single shot protocol?

can i change things within the protocols header?

can i use a mix of UDP and TCP for example use TCP to confirm delivery?

How does it pass information between layers? does each layer simply add more to the header or is that wrong?

i was thinking about changing the source address of the UDP header so it would determine the type of file that is being sent ie ACK etc but then ive come to a brick wall: how do they know where the packet came from?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.