title: Send and receive <vector> data through network
body: <p>I have a vector defined as follows:</p>
  
  <pre><code>std::vector&lt;char*&gt; rooms;
  const int rows = 100;
  const int columns = 10;
  </code></pre>
  
  <p>I need to send this vector as string buffer. And then receive and turn the string into another vector with same size.</p>
  
  <p>This is how I send a string:</p>
  
  <pre><code>int SendData(std::string data)
  {
      s.SendLine(data);
  
      return 0;
  }
  </code></pre>
  
  <p>I just can't imagine a solution for that.</p>