[PD] netreceive and XMLHttpRequest

IOhannes m zmoelnig zmoelnig at iem.at
Wed May 26 15:45:18 CEST 2010


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].

fgnasd
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100526/0114b1aa/attachment.bin>


More information about the Pd-list mailing list