We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware,  Documentation,  Website Suggestions › network lib enhancement: socket proxy connections
Page Index Toggle Pages: 1
network lib enhancement: socket proxy connections (Read 1203 times)
network lib enhancement: socket proxy connections
Apr 20th, 2010, 3:47am

Lately, i used processing to fool some web apis. I'm using processing on my corporate computer connected trough an HTTP proxy (which is a SOCKS one too – i guess).

I think it'd be really great if processing could allow sockets' connections trough proxies via the network library. As far as i browsed the source code of file client.java, processing use sockets connections.

For all of us using web apis, I think encapsulate URL / URI classes in a "ready to use" one would be great too.

I've found the following constructor for using sockets behind proxy server :


And java tutorial:


Note: i'm not a java expert so i can't help much more, but i do hope that suggestion make some sense.

Anyway, processing is amazing so many thanks for all the hard job.
Page Index Toggle Pages: 1