title: read a Binary image
body: <p>I've got my socket communication up and running.</p>
  
  <p>I now need help with the following:</p>
  
  <p>We are going to send a image to the device through the socket.</p>
  
  <pre><code>transmit.framebuffer.rgb_byte will transmit in binary format the following information:
  [4 bytes] =&gt; image width
  [4 bytes] =&gt; image height
  [&lt; image width&gt; * &lt;image height&gt; * 3 bytes] =&gt; RGB in unsigned char format [0, 255]
  [3 bytes] "OK\n"
  </code></pre>
  
  <p>How would I go about getting this to work?..
  For now I've just worked with plain text etc,
  so this whole binary coding is new to me.</p>