working with send length in rpcnode