Re: Question on select() and sockets
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Tue, 10 Jun 2008 19:33:09 +0200
David Schwartz <davids@xxxxxxxxxxxxx> writes:
On Jun 10, 6:32 am, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
David Schwartz <dav...@xxxxxxxxxxxxx> writes:
On Jun 10, 5:05 am, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
In other words, a UDP datagram can be dropped at any time.
And this is wrong. If a UDP datagram is lost in transport for some
reason, it is the responsibility of the application to cope with that.
That's all what the protocol definition (of IP, actually) says to
this.
Umm, how's it wrong?
It will not be possible to explain this to someone who cannot
immediatly see the difference between both statement. So, please,
believe whatever you want and let us leave it that way.
You are the one making the positive claim. You claim that some
standard prohibits this behavior.
I have done nothing of that sort. To repeat: When you do not
understand what I am up to by examining the difference between the
(original) two statements above, then there is no better explanation I
could possibly provide (at this time at least). Maybe a hint:
The internet protocol does not provide a reliable communication
facility. There are no acknowledgments either end-to-end or
hop-by-hop. There is no error control for data, only a header
checksum. There are no retransmissions. There is no flow
control.
(RFC791)
This text (minus error control for data) applies to UDP as well and it
is a list of things the protocol implementation itself does not do.
.
- Follow-Ups:
- Re: Question on select() and sockets
- From: David Schwartz
- Re: Question on select() and sockets
- References:
- Question on select() and sockets
- From: K-mart Cashier
- Re: Question on select() and sockets
- From: Alex Fraser
- Re: Question on select() and sockets
- From: K-mart Cashier
- Re: Question on select() and sockets
- From: William Ahern
- Re: Question on select() and sockets
- From: Alex Fraser
- Re: Question on select() and sockets
- From: Rainer Weikusat
- Re: Question on select() and sockets
- From: David Schwartz
- Re: Question on select() and sockets
- From: Rick Jones
- Re: Question on select() and sockets
- From: David Schwartz
- Re: Question on select() and sockets
- From: Rainer Weikusat
- Re: Question on select() and sockets
- From: David Schwartz
- Re: Question on select() and sockets
- From: Rainer Weikusat
- Re: Question on select() and sockets
- From: David Schwartz
- Re: Question on select() and sockets
- From: Rainer Weikusat
- Re: Question on select() and sockets
- From: David Schwartz
- Question on select() and sockets
- Prev by Date: Re: Question on select() and sockets
- Next by Date: Re: Question on select() and sockets
- Previous by thread: Re: Question on select() and sockets
- Next by thread: Re: Question on select() and sockets
- Index(es):
Relevant Pages
|