Interactive socket connection
peter at engcorp.com
Sat Jun 1 14:12:30 CEST 2002
Rayed Al-Rashed wrote:
> 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