摘要 |
This invention relates to methods for downloading a user requested file via a peer-to-peer network, comprising the steps of: generating a second queue for containing one or more trying-to-connect peers, a third queue for containing currently-connected peers, and a forth queue for containing previously-connected peers; requesting from said servers one or more available peers, wherein said available peers having one or more blocks of said user requested file; placing said available peers in said second queue; connecting to the peers in the second queue, wherein upon successfully connecting to a peer in the second queue, placing such peer in said third queue; and downloading one or more blocks from the peers in said third queue.
|