Outbound port on sockets
Fredrik Lundh
fredrik at pythonware.com
Thu Sep 14 08:34:40 EDT 2006
"bmearns" wrote:
> Specifically, I'm trying to write an FTP host, and I'm trying to
> implement the PORT command. From everything I've read, the client
> supplies the IP address and port number for where I'm supposed to
> connect to send it data (like a LISTing), and it's expecting me to
> connect over port 20. If anyone is familiar with FTP and can tell me
> whether this is true or not, whether I really need to go out on port
> 20, I'd appreciate it, as well.
PORT means that the client is asking the server to connect to the given
IP/port combination; see:
http://cr.yp.to/ftp/retr.html
the port number used by the server for this connection is irrelevant.
</F>
More information about the Python-list
mailing list