[OpenDHT-Users] What the coorect way to use OASIS to find gateway?

#CUI ZHUO# CUIZ0001 at ntu.edu.sg
Sun Jan 4 08:40:10 UTC 2009


Dear all,

 

I just found that the OASIS service seems to be up again, It's a good news, because we r able to locate the nearest gateway for OpenDHT.

 

But I'm wondering how to use this OASIS, I think we can access it via DNS or HTTP, since I'm the beginner of JAVA, I don't know how to include this dns lookup into my java code, and regarding the HTTP, I'm trying to retrieve the IP from its XML response via: 

 

http://http.nyuld.net:8096/anycast.xml?pol=opendht&max=3, is my syntax correct? 

 

However, every time the IP retrieved from the XML response is different from the IP I get from the OASIS homepage by entering: opendht.nyuld.net. the XML parsing tool I'm using is JDOM.

 

And when set the IP as my OpenDHT gateway, the XML-RPC method "put" failed while the one from DNS is always successful, is there anyone can give me some help?

 

Many Thanks,

 

Ryan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opendht.org/pipermail/opendht-users/attachments/20090104/fb3b0380/attachment.htm 


More information about the OpenDHT-Users mailing list