Date: Fri, 9 Nov 2012 17:25:41 +0100 From: zmoelnig@iem.at To: pd-list@iem.at Subject: Re: [PD] bi-directional OSC over TCP from liblo
On 11/09/2012 05:14 PM, martin.peach@sympatico.ca wrote:
If you look inside [unpackOSCstream] you'll see that it uses [slipdec]. So the other end must be using [slipenc] or they won't match up. Unless you are doing this over a serial connection there is no need to use SLIP at all. [unpackOSC] should work properly with [tcpclient] or [tcpserver].
but TCP/IP *is* a serial connection (that is: stream-based rather than packet-based). if you are sending OSC-data over TCP/IP without using SLIP, you are violating the OSC1.1 standard.
Ah yes. I was mixed up with the original use of slip: to pack entire tcp/ip packets, not just the payload, for transmission over a byte-oriented serial link.
Martin