Bryan Olson schrieb: > Diez B. Roggisch wrote: >> bmearns schrieb: >>> Is it possible to specify which port to use as the outbound port on a >>> connection? > [...] >>> Specifically, I'm trying to write an FTP host, and I'm trying to >>> implement the PORT command. >> >> AFAIK you neither can't do that nor need it. > > It's not the issue here, but to specify the outgoing port > call bind(('', portnum)) before connect().
I wasn't aware of that. Cool. Diez -- http://mail.python.org/mailman/listinfo/python-list