How to manage two (different) sockets without using threads?

billie gnewsg at gmail.com
Wed Dec 13 09:14:23 EST 2006


Hi all.
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?
Can anyone point me in the right direction?




More information about the Python-list mailing list