title: sending struct through socket; server and client on same machine
body: <p>My server and client are running on the same machine so I dont have endian issues etc. I need something that works on both vc++ and g++ and possibly the simplest way. What can I send the struct with?</p>
  <h3>Edit</h3>
  <pre><code>struct Info
  {
       int**   fields; 
       char**  field_names;
  };
  </code></pre>