1.

If 5 files are transferred from server A to client B in the same session. The number of TCP connections between A and B is _______(a) 5(b) 10(c) 2(d) 6This question was posed to me in examination.I'm obligated to ask this question of FTP in chapter Application Layer of Computer Network

Answer»

Correct answer is (d) 6

The explanation is: The client would first INITIATE the TCP control connection through PORT 21. Then for every file transfer, a separate connection would be MADE through port 20. Now, since we have five files to be transferred, 1 control connection + 5 data connections = 6 total TCP connections.



Discussion

No Comment Found

Related InterviewSolutions