[Csci551-talk] Re: [Cs551] something wrong in ClientNode::selectnSendSegReq()

Xi Wang xiw at usc.edu
Sat Apr 30 23:14:43 PDT 2005


No the code doesn't work as you described. It will pick 8 segments.

-Xi

chao-chin chou wrote:

> Hi,
> By " try to find at most 8 segments" I mean the for loop runs until it finds 8 segments or it finds that no more segment is available, while " tries to find segments 8 times " means the for loop just loop 8 times no matter how many segments it has found.
> 
> Kelvin
> 
> ----- Original Message -----
> From: Xi Wang <xiw at usc.edu>
> Date: Saturday, April 30, 2005 2:00 pm
> Subject: Re: [Cs551] something wrong in ClientNode::selectnSendSegReq()
> 
> 
>>Could you explian the difference between the two methods you 
>>described?
>>-Xi
>>
>>Kelvin Chou wrote:
>>
>>
>>>Dear Xi, 
>>>Please correct me if I am wrong. Seems the function 
>>
>>ClientNode::selectnSendSegReq() does not try to find at most 8 
>>segments, instead it just tries to find segments 8 times...
>>
>>>Kelvin Chou
>>>
>>
>>_______________________________________________
>>Cs551 mailing list
>>Cs551 at catarina.usc.edu
>>http://catarina.usc.edu/mailman/listinfo/cs551
>>
> 
> 


More information about the Csci551-talk mailing list