SciLor's Open Source Forums

Also visit my Website!
It is currently Thu Dec 12, 2019 4:38 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Proxy
PostPosted: Thu Jan 19, 2012 11:03 pm 
Hi Scilor,
like you know Grooveshark has banned the users in Germany. Your Tor solution works good.
It would be great when we have a similar solution in Java. I looked at the ban and it seems like they only check on connection. When connected its possible to search and stream with a german ip. Would it be possible to set a proxy through which the connection is established?
Should be easy:
Code:
SocketAddress addr = new InetSocketAddress("proxy.de", 80);
Proxy proxy = new Proxy(Proxy.Type.HTTP, addr);
URL url=new URL("http://www.wieistmeineip.de/");
URLConnection conn = url.openConnection(proxy);
InputStream is=conn.getInputStream();

Thanks and Greetings
vato


Top
  
 
 
Online
The Adswinger

Joined: Wed Jan 13, 2010 11:56 pm
Posts: Too many!
Donated: Ad Posts


 Post subject: Re: Proxy
PostPosted: Sun Jan 22, 2012 2:22 am 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1466
Donated: free software
Thank you, already done without a proxy :P

_________________
My Windows Mobile and Windows Open Source Website:
www.scilor.com

Like my work? Donate!
Donation Website

My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
 Post subject: Re: Proxy
PostPosted: Mon Jan 23, 2012 11:57 am 
Awesome. Thanks :)


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
template->_php_include(): File ./counter/foruminclude.php does not exist or is empty Powered by phpBB® Forum Software © phpBB Group