[PD-dev] [tcpsocketserver] - a protocol-aware wrapper around [tcpserver]

Roman Haefeli reduzierer at yahoo.de
Tue Jan 13 21:32:09 CET 2009


On Mon, 2009-01-12 at 15:26 -0500, Hans-Christoph Steiner wrote:
> This looks very cool, we need an easy to use OSC replacement for  
> dumpOSC/sendOSC.  One thing, I get this when I load them:

i am afraid, that they do not make it easier for the user to use
mrpeach/osc. at the least the goal was to make [tcpserver] work at all
for OSC transportation. [tcpsocketserver] is supposed to be used the
same way as one would use [tcpserver].
as IOhannes already mentioned, the problem is, that TCP is a
stream-based protocol and packet-agnostic, whereas OSC is a packet based
protocol and wants packets to be received exactly the same way as they
were sent. [tcpserver] - since it talks plain TCP - cannot guarantee
that. 

> we need an easy to use OSC replacement for dumpOSC/sendOSC.

do you mean, it would make sense to have something 'abstracted out',
that does OSC un/packing and transport in a single class? i could try,
if i get clear picture of how it should be done.

>   unpackOSCstream
> ... couldn't create
>   unpackOSCstream
> ... couldn't create
>   packOSCstream
> ... couldn't create
>   packOSCstream
> ... couldn't create
> 
> I can't find those anywhere.

yo, as others already pointed out, those are part of svn in mrpeach.

roman


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





More information about the Pd-dev mailing list