I've got a pair of Windows sockets and I want the client to send certain variables to the server. The server should somehow tell the client which variables it shall send.
I got the idea that the server could just send the name of the desired variable and the client should somehow map this string onto one of its variables but I don't know how to do it.
Is this the right approach anyway, or do you have a better idea?