[medusa] Usage for recv_channel in ftp_server.py

Youngbong Choe hurd@s...
Wed, 16 Feb 2000 01:00:37 -0800


hi, i'm a newbie in python and medusa.

I built a simple file server using asyncore.py and asynchat.py,
recv_channel and xmit_channel classes.
but i could not understatand recv_channel, xmit_channel flow exactly.
My question is this:

1. After adding new xmit channel and then push_with_producer(....),
how can a client get the data? need new socket? or using current socket?
2. After adding new recv channel, how can a client send the data?

i need a piece of wisdom :)
thank you.

-- hurd.