Re: [LAU] Open Sound Control: Is it still a thing?

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sat May 01 2021 - 00:10:32 EEST

On Fri, Apr 30, 2021 at 10:17:01PM +0200, Winfried Ritsch wrote:

> I always assumed OSC 1.0 can be used over any transport, mostly I use TCP/IP,
> sometimes serial, so it would be good to know where this stated to argue that
> and
> why OSC 1.0 is only UDP ?

The problem with any transport that is just a stream of bytes is that it
complicates the OSC decoder. You have to feed it byte by byte, and it has
to remember its state until it gets the next byte if the packet is not yet
complete.

Of course if there are pauses between packets you could be lucky and
actually get complete packets from a TCP socket each time you read it
with a timeout. But that's inherently fragile and you can't rely on it.

Ciao,

-- 
FA
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat May 1 04:15:01 2021

This archive was generated by hypermail 2.1.8 : Sat May 01 2021 - 04:15:01 EEST