TCP requires you flatten everything to string. It transmits in ASCII. So you would have to write functions to convert your structure into a string on the Server side, and a function to parse the string back into the structure on the client side.
In this case something for the server like:
char buffer[100];
Fmt(buffer, "%5d", temp.a, temp.b, temp.c, temp.d, temp.e);
ServerTCPWrite(panel, buffer, dataSize, 1000);
and for the client like:
char buffer[100];
ClientTCPRead(panel, buffer, dataSize, 1000);
Scan(buffer, "%5d", temp.a, temp.b, temp.c, temp.d, temp.e);
Hope that helps.
Best Regards,
Chris Matthews
National Instruments