View Single Post
  #1 (permalink)  
Old November 28th, 2007
goober goober is offline
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