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.