I do not know any code sample, but segmented download is the main idea of the accelerated download. Download accelarators split file into many parts, then download each part simultaneously. For example, if a server upload 100kb/s per connection and your program use 3 parts for downloading, then your total speed is 300kb/s. As I know, I tried to explain;)