The-WebOps-Club / open-soft-interiit15

Solution for Problem statement given for Open Soft competition under Inter IIT Tech meet - 2015
0 stars 0 forks source link

Data transfer #3

Open shahidhk opened 9 years ago

shahidhk commented 9 years ago

Client device need to download content.

HttpClient httpclient = new DefaultHttpClient();
HttpHead httpRequest = new HttpHead("http://www.google.com");
httpRequest.addHeader(new BasicHeader("Range", "bytes=10-20"));
shahidhk commented 9 years ago

Another idea to transfer data is to compress into a file, split into chunks of say 100KB on the server itself, let the client download this chunks, and then join them back, deflate on the client