title: Read socket data byte by byte and return as a string
body: <p>I need to read data from socket byte by byte. I try to do with this code:</p>
  
  <pre><code>lineF = ''
  for DataByte in client[0].recv(1):
      lineF += DataByte
  </code></pre>
  
  <p>result <code>lineF</code> must be an data string.</p>