Re: SOCKSmodule ok except for ftplib

Daniel W. Connolly (
Mon, 09 May 1994 18:07:49 -0500

In message <>, Steve Kirsch writes:
>in your ftplib, make sure you have sock.listen(1), and not sock.listen(0).
>If this works, you might want to post it to the group.

Thanks, but listen(1) doesn't seem to behave any differently from listen(0)...

The problem was: there's a magic argument to the SOCKS version of
bind() -- you have to remember the remote address from the last

So I hacked up socksmodule.c and appropriately, and now
my pthon interpreter groks ftp over socks!

Here's the latest stuff...
(13760bytes May 9 18:04)