title: Continuously send the content of a file through a server socket with netcat
body: <p>I have a linux machine which is listening for connections on port 4450. Where there is an incomming connection, this is supposed to send continuously over the socket the content of a file. Did you do this before ?
  What I've done so far was to send once the content of the file like this:</p>
  
  <pre><code>x=$(filename); echo $x | nc -l 4450
  </code></pre>
  
  <p>On the client side I have an Android app, which connects to the server and then using a BufferedReader gets the data from the stream and processes it.</p>
  
  <p>Any help would be highly appreciated.</p>
  
  <p>Thanks</p>