I am learning how TCP and application communicate with each other. I am not sure if my understanding is correct, I will use below example to illustrate my understanding and want to ask some questions.
When I do a request using the a browser to a website, the website url is resolved to an IP and port number (eg, 80). Then through the network, it reach the hosting machine of the website. In TCP layer, it reads the port number from the packet, and find the application bind to this port number.
Is my understanding correct?