[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

call failed : RPC: Can't encode arguments.

From: Ori Zimmels
Subject: call failed : RPC: Can't encode arguments.
Date: Wed, 22 Jan 2003 22:37:13 -0800

hello - I took your e-mail address from the glibc html page.

I have been working with rpc recently using rpcgen and have encountered a 

on the .x file

#define MAX_DOC_LEN 102400
typedef char doc<MAX_DOC_LEN>;
typedef opaque signature<MAX_DOC_LEN>;

/* program def */
program SIG_MANAGER { /* can manage multiple servers */
    version SIGN {
        signature BIN_SIG(doc) = 1;
    } = 1; /* interface version number */
} = 0x2000100;

on the client side - 
it seems that when i exceed 2190 chars i get a - 
call failed : RPC: Can't encode arguments.

there is no problem with shorter documents.
and the buffer i am passing is allocated properly.

can you suggest how to approach this issue - to figure out what the problem is.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]