Interactive session via tcp
Thomas Guettler
zopestoller at thomas-guettler.de
Thu Jun 27 07:03:09 EDT 2002
Andreas Ames wrote:
> Hi all,
>
> I have a python daemon running with access to an XML messaging system
> (jabber in this case). I'm wondering, how I can achieve remote
> control over my daemon.
>
> The first thing that I can think of is to start an interactive session
> via the XML stream. Security is not my concern right now. Following
> steps seem to be required, afaik (please correct me, if my assumptions
> are wrong).
>
> 1) Deamon receives a command to open an interactive session.
>
> 2) The main thread of my daemon starts a read/eval loop and redirects
> stdout and stder.
Sorry, if this if wrong, I read your post quickly.
Doesn't "telnet jabber_port" do what you want?
thomas
More information about the Python-list
mailing list