title: Packet Size for low latency websocket html 5 games
body: <p>Im making a HTML 5 chess game. I represent the board with an unsigned 8bit binary array with a length (size) of 64. As there are 64 positions on a chess bord.</p>
  
  <pre><code>var board = Uint8Array(64);
  </code></pre>
  
  <p>each chess piece is represented on the board via an (obviously) 8 bit unsigned integer. Then on clients there is a map relating the binary representation of a piece to a textual string e.g:</p>
  
  <pre><code>var pieceMap = { 01: 'BlackKnight', 112: 'WhitePawn', 6: 'BlackRook' ... }
  </code></pre>
  
  <p>The data is sent over a socket.io connection (lets assume we are using websockets), TCP i think? So the Question is:
  <strong>Will TCP send my packets as small as the data i feed to it (with TCP overheads) or does TCP have a min packet size and send say my 200byte packet as a 1024byte packet?</strong></p>
  
  <p>why so obsessed with size? i know it does not matter but i use this for the learning experiance, in future games i will use this to lower latency... i know chess does not need to be low latency. </p>