[PD] socket object?

Pagano, Patrick pat at digitalworlds.ufl.edu
Thu Feb 16 18:12:02 CET 2012


We have tried using the symbol2list object to parse the data, but where things seem to fall apart is when we try to give any arguments that contain a comma. Is there some sort of a literal break character (like "\" in unix) that we can use in pure data to give the comma character as an argument?




________________________________________
From: pd-list-bounces at iem.at [pd-list-bounces at iem.at] on behalf of IOhannes m zmölnig [zmoelnig at iem.at]
Sent: Thursday, February 16, 2012 12:01 PM
To: pd-list at iem.at
Subject: Re: [PD] socket object?

On 02/16/12 17:50, Pagano, Patrick wrote:
> i cannot find iemnet for OSX

never mind, it won't help you here (in fact, it will make things a
little bit more complicated, as with mrpeach/tcpclient you can at least
hope that the chunks you get will make sense in a way, whereas the
iemnet will guarantee that you need to take proper care of the stream)

>
> using bytes to any and mr peach's tcpclient
> i am able to get the data back to the same thing max was spitting out
>
> print: [[[6171 , 520]] , [[590 , 655]]]
> but i cannot seem to strip off the brackets correctly
>
> i can strip off one delineator so it seems
>
> i will try gridflow next
>

what's wrong with [symbol2list]?

given that the protocol is rather simple, you might also simply try to
parse it yourself (which would make it robust against packet
fragmentation as well)

fgmadsr
IOhannes

_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list