最初由 northernwolf 发布
Actually fulpchcl's question is a good one. Here's the answer from "Internetworking with TCP/IP" by Douglas E. Comer.
"A server that uses only one protocol port can accept connections from many clients because TCP uses both endpoints to identify a connection" [End Quote].
This means the cloned port number for the data transfer can be 20 for all clients. The server distinguish the socket pair by the client's port number (data transfer, not the control connection port). This is what you have seen from your machine. Each connection will be handled by a different process/or thread.
The FTP control connection, as you pointed, is still procesing the same way as many other TCP concurent servers.
BINGO.
After reading Richard Steves' 另一部大作
“TCP/IP Illustrated, Volume 1 -- The Protocols”
说来惭愧,那也是俺们的教科书之一。
多谢各位帮我解答。 :thanks: :thanks: :thanks: