Re: [LAU] Editing zynadsuxfx/yoshimi patches?

From: Paul Davis <paul@email-addr-hidden>
Date: Thu May 05 2011 - 05:00:45 EEST

On Wed, May 4, 2011 at 9:52 PM, Lieven Moors <lievenmoors@email-addr-hidden> wrote:
>> On Wed, May 04, 2011 at 09:53:59AM -0400, Paul Davis wrote:
>> > you have no idea which one actually came first unless you simply don't
>> > use a reliable transport layer. in that case, the one that arrived
>> > first is the response to the earlier request. but now you've got an
>> > unreliable transport layer.
>
> I'm reading this again...
> Wouldn't this apply to UDP then?
> (as unreliable transport layer)

if you use UDP, and you send two identical queries and get two
responses, then the first response will correspond to the first query.
but if you use UDP, you may only get one response (or even none).

if you use TCP, and you send two identical queries, and get two
responses, you don't know (without more information) which response
corresponds to which query. you will, however, always get two
responses (assuming that the receiver/server stays up etc, and if it
doesn't you will find that out too).
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu May 5 08:15:01 2011

This archive was generated by hypermail 2.1.8 : Thu May 05 2011 - 08:15:01 EEST