title: Send wav files through socket
body: <p>I am trying to send a wav file through a socket.</p>
  
  <p>I get the error:</p>
  
  <pre><code>TypeError: must be string or buffer, not instance
  </code></pre>
  
  <hr>
  
  <pre><code>waveFile = wave.open(WAVE_OUTPUT_FILENAME, 'rb')
  my_socket.sendall(waveFile)
  </code></pre>