Press "Enter" to skip to content

How does proxy server know which client is the recipient of a response? [closed]

        In Network Address Translation, port number is used to determine which client is the recipient of a response from a server.
But how about in proxy? Let's say we have two clients, clientA and clientB, connected to a proxy server, and let's say they access youtube.com at the same time. Now when the proxy server receives the response from youtube.com, how does it know if that response if for clientA or for clientB? Is port number also used here in a way like in NAT?

Be First to Comment

Leave a Reply

%d bloggers like this: