Python server from inetd?
Erno Kuusela
erno-news at erno.iki.fi
Thu Apr 11 02:00:50 EDT 2002
In article <mb1abucnutggsi6v22mbo03qisn1l8agm3 at 4ax.com>, Tim Roberts
<timr at probo.com> writes:
| You're right. That's what I get for posting from memory instead of from a
| file. I did figure out that I needed to use stdin and skip the
| translate-to-socket model.
using socket.fromfd should work fine. you can't do things like
getpeername() if you don't make a socket object out of the fd.
-- erno
More information about the Python-list
mailing list