Sketch for the server-side pull and push. Use autoflush=False.