-------- Original Message -------- Subject: Re: [PD] netreceive and XMLHttpRequest From: IOhannes m zmoelnig zmoelnig@iem.at To: Lorenzo lsutton@libero.it CC: pd-list pd-list@iem.at Date: 26/05/2010 15.45
On 2010-05-26 12:53, Lorenzo wrote:
Hi list,
Anyone ever managed to connect to Pd (on localhost) via XMLHttpRequest froma web page?
[netreceive] only speaks FUDI; if you want to use XMLHttpRequest, you have to make XMLHttpRequest output a FUDI conformant message (which is probably not so easy to do)
then, [netreceive] only does a uni-directional connection: you can send data from your webpage, but Pd cannot talk back (which might be needed by XMLHttpRequest in order to complete the request)
an alternative is to use mrpeach's [tcpserver].
Thanks for all the info, glad I asked :) I'll look into it. Best, Lorenzo
fgnasd IOhannes