peer selection process

From: atit_ldce <atit_ldce@dont-contact.us>
Date: Fri, 21 Mar 2003 18:16:59 +0530 (GMT+05:30)

I have confusion regarind peer selecion process which are as follow?

1)

What following fragment of code in peerCheckNetdbDirect() indicates?
   p = whichPeer(&psstate->closest_parent_miss);
    if (p == NULL)
        return 0;
p is not used beyond it in function..

2) I got MISS from parent having closest rtt to origin server
   so hier_code = CLOSEST_PARENT_MISS in peerGetNeighborReplies()...
   
   so we have got some dest for request R.
 
   and My status for ps_state->direct = DIRECT_NO
   
   so when flow comes back to peerSelectFoo()
   in switch stmt it will go with DIRECT_NO case,
   where it call getSomeParent() and getAllparent()...
   
   doesn't call for getSomeParent() and getAllparent() seems
   to unnecessary,since we already got destination for our Request
 
 regards
==atit
        
 

_____________________________________________________________________
Get your internet connection from the fastest growing digital network.
ICENET
visit our site www.icenet.net
Received on Fri Mar 21 2003 - 00:21:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:34 MST