Interactive socket connection

Peter Hansen peter at
Sat Jun 1 08:12:30 EDT 2002

Rayed Al-Rashed wrote:
> Hello,
> I am trying to build POP3 proxy, I want it to run from "inetd" so it should
> communicate with the user using regular stdin, stdout.
> I built a small code that should run as general proxy for any protocol, but
> I faced the following problem, it doesn't show any output from the server
> until I pass it a command [...]

Are you maybe in need of a sys.stdout.flush() to get the output to
be sent after the sys.stdout.write()?


More information about the Python-list mailing list