FTP: TCP 21 is only a socket accepter. it create another socket to serve the new connection. So more than one tcp connection can be created. You must create a service program to accept the FTP commands. if you need to support more than one FTP connect, a multithread or poll mechanism need to create as ftp server.