[PD] socket object?

Pagano, Patrick pat at digitalworlds.ufl.edu
Thu Feb 16 16:46:52 CET 2012


Hi and thanks
We are listening for tcp
in max i get the lines read as
LaserOutput: [[[2705,246]],[[1358,402]]] 

and in pd using mrpeach's tcpclient it reads back 
91 91 91 50 54 54 49 44 50 56 54 93 93 44 91 91 49 51 54 53 44 52 49 56 93 93 93 13 10

i of course want to strip off the brackets and close brackets and just get to the numbers inside the strings
is this possible? Can i convert the bytes to characters/numbers?

pp

________________________________________
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 10:38 AM
To: pd-list at iem.at
Subject: Re: [PD] socket object?

On 02/16/12 15:59, Pagano, Patrick wrote:
>
> hi
> We have a laser pointer that is being tracked and broadcasting on an ip
> two lists of XY data from a C# application
> Is there a way i can listen to it in pd by just listening to that socket?
> I tried netserver and netclient but it does not connect.
> Can pd listen to this socket without a netsend on that machine?
>

[netsend]/server/client speak a protocol called FUDI, which you C#
application is most likely not speaking.

you might want to use objects that don't make any assumptions on the
application layer protocol, such as
[tcpclient]/[tcpserver]/[udpclient]/[udpreceive] depending on the
transport layer your application is using (tcp/ip or udp?)

fgmdasr
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