[OpenDHT-Users] 3rd version of sun_rpc seems not to work.

Pengfei Di di at ira.uka.de
Wed Oct 15 02:25:16 UTC 2008


Hello all,

I am trying to use opendht with the sun_rpc interface, but it seems that 
the version 3 does not work.
When the bamboo_dht_proc_put_3 function is called, the connection will 
be broken. The error information is:
"RPC: Unable to receive; errno = Connection reset by peer ".
(the RPC client is generated with the following code:
 CLIENT* clnt = clnttcp_create (addr, BAMBOO_DHT_GATEWAY_PROGRAM, 
BAMBOO_DHT_GATEWAY_VERSION_3, &sockp, 0, 0); )

The put function works well in the 2nd version of sun_rpc interface. But 
it misses the remove function, which actually I really need.

Does anybody has the same problem as I have, or in contrast, has used 
the 3rd version of sun_rpc successfully.
Thanks a lot for any help and suggestion.

Best Regards
Pengfei


More information about the OpenDHT-Users mailing list