[PD] how to do a http request from pd to a webserver and get the results

B. Bogart ben at ekran.org
Sat Mar 5 17:31:46 CET 2005


I don't have an answer for this, but the idea of a external that creates a 
two-way socket could be very useful (eg for a full OSC spec implimentation that 
involves receiving queries and sending replies back..) I'm sure for a host for 
other things. Netsend and netreceive make sense as network versions of send and 
receive, but a [socket] or something would be much more flexible for more 
complex network stuff.

Any ideas on the subject?

B.

Marc Boon wrote:
> For the first part (sending the request) I could simply use [netsend],
> but how do I get the response from the server back into pd?
> [netreceive] is not appropiate here.
> 
> I thought of using the [system] object calling wget, but than again, how 
> do I get wget's output back into pd?
> 
> Ideas welcome!
> m at rc
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050305/a20f81f8/attachment.pgp>


More information about the Pd-list mailing list