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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 28th, 2007
Novicius
 
Join Date: November 28th, 2007
Posts: 1
goober is flying high
Default 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


I have also tried

Code:
NetworkManager networkMgr = NetworkManager.getInstance();
networkMgr.joinNetwork();
I get


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.
Reply With Quote
  #2 (permalink)  
Old February 3rd, 2008
KathW's Avatar
Phlox Sniffer
 
Join Date: June 23rd, 2001
Posts: 1,030
KathW is flying high
Default

Maybe this is a better place to look

Phex - Home
__________________
~Kath~
Always judge a person by the way they treat someone who can be of no possible use to them
Reply With Quote
  #3 (permalink)  
Old February 15th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

I moved your post into teh Phex development board.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #4 (permalink)  
Old February 16th, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

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....
__________________
Reply With Quote
  #5 (permalink)  
Old February 18th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Do you already use the Phex API docs?

Generated Documentation (Untitled)
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
Reply


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 06:45 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.