[Csci551-talk] Finding total number of segments

Xi Wang xiw at usc.edu
Thu Apr 28 18:39:51 PDT 2005


You can get total file size by sending INFO_REQ to peers. INFO_REP 
should contain total file size information. Even if a peer only has one 
segment it still can/should know the total size.

-Xi

hariram yogendran wrote:

> Hi,
> 
> 
> For algorithm T we need to find the total number of segments in the file before 
> we start downlading the file to calculate the sequence.For this does the seed 
> have to calculate the number of segments send it to the tracker (this means that 
> we will need new messege type for sending the total segments).Then the tracker 
> will send this to all the clients.Or can I assume that the total number of segments 
> is going to be fixed.Or is it going to be the maximm number of segments.Please 
> clarify so that I can proceed.
> 
> Regards,
> Hari.
> 


More information about the Csci551-talk mailing list