help using (x)inetd
Cliff Wells
logiplexsoftware at earthlink.net
Tue Jul 2 19:50:57 EDT 2002
On Tue, 2 Jul 2002 19:39:22 -0400
rahvee at yaahhoo.com wrote:
> I have xinetd accepting a tcp connection on some port, and spawning a
> process that I wrote.
>
> The process wants to have a conversation. It can take input, it can
> make output, but when it prints some output, that output gets buffered
> by xinetd, and it is never received by the client until the process
> closes. My process is written in python.
>
> How can I signal inetd to flush the buffer?
sys.stdout.flush()
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
More information about the Python-list
mailing list