title: How to use protocol buffers?
body: <p>Could someone please help and tell me how to use protocol buffers. Actually I want to exchange data through sockets between a program running on unix and anoother running on windows in order to run simulation studies. </p>
  
  <p>The programs that use sockets  to exchange data, are written in C/C++ and I would be glad if somneone could help me to use protocol buffers in order to exchange data in the form of :</p>
  
  <pre><code>struct snd_data{
      char *var="temp";
      int var1=1;
      float var2;
      double var2;
  }
  </code></pre>
  
  <p>I tried several ways, but still data are not exchanged correctly. Any help would be very appreciated</p>
  
  <p>Thanks for your help,</p>