I'm trying to send chunks of data from a file using an array declared inside a structure through XDR. The idea is to establish a client server communication encoded with XDR.
struck response{
float data[5];
bool error;
}myreq;
I may have to use the following functions but i'm not sure. If yes, in which order?
xdrmem_create()
xdrstdio_create()
xdr_array()
Note: Am using C language in linux environment. Any help would be appreciated