title: Twisted: tcp server with push producer example?
body: <p>I want to put together simple TCP server using Python and Twisted.</p>
  
  <p>The server starts up and waits for connection - I already have client - non-python application. Once connection is made server starts sending data at some interval (e.g. 1 sec).</p>
  
  <p>The server reads data from a static file (a record at a time), I should be able to figure out this part.</p>
  
  <p>I assume that I would use push producer to start pushing data once client is connected.</p>
  
  <p>I have simple tcp server with factory in twisted and I can react to connectionMade/dataReceived and so on but I can't figure <strong>out how to plug in the push producer</strong>.</p>
  
  <p><strong>Anyone knows any examples showing push producer with tcp server in twisted?</strong></p>