Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   ask some question (https://www.gnutellaforums.com/general-discussion/48904-ask-some-question.html)

buptkang November 24th, 2005 07:23 PM

ask some question
 
i am a student who is fascinated in p2p programming , and now is studying the p2p Protocol Gnutella ,using the Phex as the programming source.
My question is
1: how can i know if i am a ultrapeer or a leaf?why dos the program have no prompt when i am converting between leaf and ultrapeer?

2:i know most time i am a leaf,but how can know my Ultrapeer that receive my QRP table to help me to query the other ultrapeer or its other leaves?

3:Generally speaking, a servent is a leaf,which has capable of becoming a UP, but can't have some setting that ensure i am becoming a UP now?(i have wide bandwith now and no firewall, use WinXp Sp2)

arne_bab November 25th, 2005 04:40 AM

To check, if you are UP or Leaf, just look at the number of connections. If you have about 30, then you are an UP, if you have about 4 to 5, you are a leaf.

If you want to be UP, just get into options > network and activate "allow to become an UP" and "force to eb an UP".

buptkang November 25th, 2005 04:57 AM

Thank You, i just have one more question:

Now ,i have studied the Gnutella already,and have some relative knowledge about it ,but when i began to analysis the source code about the Phex , i found this project is too immense that i can't know where i could start from this project.
i want to make a client byself, what procedure could i do??
i hope somebody could help me to direct a way!!

arne_bab November 25th, 2005 05:13 AM

First get a year of full-time programming time, at least if you want to write a client with any chance of being accepted by the majority (and being able to keep connections active).

Writing a Gnutella-Client isn't piece of cake. Phex has about the least code-obscurity I found for a Gnutella Client, and now that you know something more about Gnutella, the Phex-sources should have opened up a bit for you.

What do you want to do with it?

buptkang November 25th, 2005 05:42 AM

Now i am making a project with our group,this project is to implement NetTv P2P module ,it mean user could see the video while translating the stream segment he own to the other user who want to see this.
We choose the Gnutella to be the P2p protocol to implment this project, now we have studied the protocol,we just want to use this protocol, actually just use the interface of the protocol,not focus on the whole project like Phex Bear,Lim and so on ,our project is just a test without relating to bussiness.
Actually,i want to find a Phex Project workflow , just one stage by one stage to descripe its project. But i only get the whole source code,without some documents which is more important than this code i think......

what's u opinion??


All times are GMT -7. The time now is 09:41 PM.

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.