Python server from inetd?

Matthew Dixon Cowles matt at mondoinfo.com
Mon Apr 8 23:07:37 EDT 2002


On Mon, 08 Apr 2002 19:57:37 -0700, Tim Roberts <timr at probo.com> wrote:

>I have a quick little socket server that works OK as a continuously running
>app, listening for and handling connections.

[. . .]

>Thus, I tried to port it to inetd.

[. . .]

>I thought all I needed to do was basically:

[. . .]

Tim,
You have to do even less than that. inetd (I generally use xinetd but
I'm quite sure they're the same in this respect) does all the socket
work for you. Your server only has to read from stdin and write to
stdout.

Regards,
Matt



More information about the Python-list mailing list