Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Development Open Discussion (https://www.gnutellaforums.com/development-open-discussion/)
-   -   Trying to use the phex API (https://www.gnutellaforums.com/development-open-discussion/78295-trying-use-phex-api.html)

goober November 28th, 2007 07:53 AM

Trying to use the phex API
 
Hey,
I'm working on a research paper on the gnutella p2p network. I have been trying to do some basic things like connect to the network using various java APIs. I started out with Jtella but obviously thats pretty outdated with the current protocol. Phex seems to be the best bet, its seems well written and organized. But I have been having some problems...

I have been trying to connect using NetworkManager like so

Code:

NetworkManager networkMgr = NetworkManager.getInstance();
networkMgr.connectToNetwork();

I get
http://imagetoker.com/images/103409nullpoint.jpg

I have also tried

Code:

NetworkManager networkMgr = NetworkManager.getInstance();
networkMgr.joinNetwork();

I get
http://imagetoker.com/images/691382initial.jpg

Is there something I need to do or initialize before trying to connect? Am i way off and this is not even how phex connects to gnutella? I really need some help, I really need to get started on this paper.

Thanks in advance.

KathW February 3rd, 2008 03:18 PM

Maybe this is a better place to look ;)

Phex - Home

arne_bab February 15th, 2008 12:29 AM

I moved your post into teh Phex development board.

GregorK February 16th, 2008 05:02 AM

Please use the latest SVN version and check out the Servent class and the Main class for initialization of Phex.
This should make the live easier for you.

If you like to get more into details you can also visit the IRC channel #phex on freenode.net
You can find me there once in a while....

arne_bab February 18th, 2008 01:07 AM

Do you already use the Phex API docs?

Generated Documentation (Untitled)


All times are GMT -7. The time now is 06:25 AM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.