Hello,
I am trying to create some PHP scripts which sends variables to the "netreceive" object box. My initial goal is to make a web page which,
With my limited understanding of C/C++, I could not figure out from the source code weather there is a specific format the variables have to be sent in.
Could I please get some advise or pointers on how to send variables to the netreceive box ?
From the fact that "netreceive" accepts UDP, I am assuming
there is no complicated negotiation involved.
I'd appreciate any help.
-- David Shimamoto shima@pspunch.com
hi
PSPunch wrote:
Hello,
Could I please get some advise or pointers on how to send variables to the netreceive box ?
the protocol used is "FUDI"
From the fact that "netreceive" accepts UDP, I am assuming
there is no complicated negotiation involved.
no there is not.
FUDI (i guess you won't find much information in the net about it) is very simple: open the connection to the port (either tcp/ip or udp) send the data as ASCII with a trailing semicolon (and probably a carriage return; but this is not a must afair)
example (having a [netreceive 6666] on localhost):
#> telnet localhost 6666 var1 3; var1 4.1; var2 hello;
should make [netreceive] output [var1 3(, [var1 4.1( and [var2 hello(
mf.asdr. IOhannes
I'd appreciate any help.
-- David Shimamoto shima@pspunch.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pall & zmoelnig
Such great help from you two, thank both of you so much! With your advice I got my php script to throw data soon enough.
zmoelnig, Just for your reference, at least my PD under WinXP did require the return "\n" at the end or else did not accept the messages.
Hi !
You should use my PEAR class NET_DataFlow. http://www.sourcelibre.com/puredata/
I will post a new version soon. The API is going to change a bit. I need users feedbacks. :-)
aalex
On 6/8/06, PSPunch shima@pspunch.com wrote:
Pall & zmoelnig
Such great help from you two, thank both of you so much! With your advice I got my php script to throw data soon enough.
zmoelnig, Just for your reference, at least my PD under WinXP did require the return "\n" at the end or else did not accept the messages.
-- David Shimamoto shima@pspunch.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list