Closed garyhodgson closed 10 years ago
A slight update. I was playing further and see that the deferrable can be obtained by calling new on the RPCObject, e.g.
var ping = new that.node._reactor.RPCObject.PING(peer);
However I am still not sure how to get this to work properly as the parameters do not seem to be set this way. Explicitly setting them on the resulting ping object doesn't appear to work either :(
Any hints would be appreciated.
Fixed by #65.
Hi,
I'm running the udp DHT example ("bin/dht udp.default" and "jake run:udp") and I see that the ping function in the debug UI fails with the following exception:
I attempted to correct this with the following change:
which seemed to work, but then exposed the following exception:
My naieve attempt to fix this was to reference the PING RPCObject in the reactor object as follows:
but this appears not to return a deferrable:
Now I'm a bit lost how to proceed in order to fix this bug (which I would like to do to learn a bit more about the library, as I plan in using it in a p2p app.)