05-12-2022 09:42 AM
Hi Folks,
A pc connects to google.com and also uses an FTP service and also email servers are logged in at the same time. How TCP three Handshake works in this scenario. When Multiple types of services are used at times how does PC identify which ACK is for which services?
Solved! Go to Solution.
05-12-2022 11:14 AM - edited 05-12-2022 11:30 AM
TCP keeps track of the connections with the port numbers eg a PC connecting to a server running multiple services works because each service has a different port so the combination of PC IP and PC port (random) server IP and server port are unique to that connection.
Even if the same PC connects to the same service multiple times on the same server each connection is unique because for each connection the source port on the PC will be a different one.
Jon
05-12-2022 10:01 AM
Each traffic seq number set when pc start new tcp session.
05-12-2022 11:14 AM - edited 05-12-2022 11:30 AM
TCP keeps track of the connections with the port numbers eg a PC connecting to a server running multiple services works because each service has a different port so the combination of PC IP and PC port (random) server IP and server port are unique to that connection.
Even if the same PC connects to the same service multiple times on the same server each connection is unique because for each connection the source port on the PC will be a different one.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide