I am new to c programming. I want to create data structure for client server communication. I can simply transmitt simple char to server and return it back. My requirement is to have dynamic number of variable in client side i.e my client should be able to transmitt any number of variable to server. Sometime it would be 1 or 2 or so on. On other hand my server should respond it accordingly independent of number of variable.
Please help me how should I approach in creating such datastructure.