Hello, I am working on a project that involves creating both a client and server in C. The client must get from the user:
A = int
B = double
C = int
D = double
Then it must send all the values to the server in one send. The server will then return the result of ((B^A)-(D^C)) to the client. I'm not looking for any code, just advice on how to send all the values in a single send. I was thinking I should use an unsigned char array.