How to manage two (different) sockets without using threads?
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Dec 13 12:42:23 EST 2006
billie wrote:
> I'm (re)writing an FTP server application by using
> asyncore/asynchat modules.
> FTP tipically got two different channels: command and data.
> I'm succesfully managing command channel through asynchat
> framework, but I'm not sure about how to manage data channel
> without using a thread/subprocess.
> Is there an optimal to do that?
I don't know much about asynchat, but I think it's been done for
this.
But if you want to save pain, try the Twisted framework.
Regards,
Björn
--
BOFH excuse #2:
solar flares
More information about the Python-list
mailing list