Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3 (permalink)  
Old June 5th, 2011
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Both is possible:

Ultrapeer: You can force Phex to be ultrapeer by setting the preference:
Connection.ForceToBeUltrapeer = true
or modify class PrivateNetworkConstants.DEFAULT_FORCE_TOBE_ULTRAPE ER

Otherwise check Servent.isAbleToBecomeUltrapeer() for the conditions that need to apply for a servent to become ultrapeer.


The file src/main/resources/phex/resources/phex.hosts contains a list of hosts Phex tries to connect to on startup.
If you like to create a real private network, there are a few code changes that need to be applied. There should be some outdated instructions in the forum and on the Phex wiki. If you like to experiment with it and like to help to incorporate this into the source with an easy "private" switch, it would be very cool.

Gregor
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:57 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.