title: How to write byte by byte to socket in PHP?
body: <p>How to write byte by byte to socket in PHP?</p>
  
  <p>For example how can I do something like:</p>
  
  <pre><code>socket_write($socket,$msg.14.56.255.11.7.89.152,strlen($msg)+7);
  </code></pre>
  
  <p>The pseudo code concatenated digits are actually bytes in dec. Hope you understand me.</p>