RPC string arguments?

16 Dec 2009

 

How do I pass an arbitrary string to an RPC function declared as:

 

void myfunction(char *name, int value)

 

 

It looks like any non-alphanumeric characters turn into argument delimiters...

Can you give an example or a recipe of how to encode strings so RPC function will get a complete, but fully decoded string?

I started a new project, and found that I can't avoid this need.