View Single Post
  #6 (permalink)  
Old November 19th, 2002
GregorK GregorK is offline
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You can influence the number of host IP to collect with the property 'mNetMaxHostToCatch' in your phex.cfg file.
Don't wonder there is a little bug that causes less host to be loaded when restarting Phex. I will fix this soon.
The host list is used to let Phex find an entry point to the network. Since most of these IP's have a very short live time many of them are collected. The IP's are collected from the GWebCache and from currently connected Peers.
The IP's are sorted by priority. There are three priority levels: Ultrapeer, Normal Peers and Private IPs. Inside each priority level new IP's are put on top pushing old IP's down.
When connecting the top most IP is taken from the three concatenated priority lists.

Why would you like to be able to clear the list?

Phex only checks if the new IPs are valid before adding them to the list. A connection to check the host would be too expensive.

Gregor
__________________
Reply With Quote