How do multiple clients connect simultaneously to one port, say 80, on a server? [duplicate]

問題:

This question already has answers here : 這個問題在這裏已經有了答案
Closed 3 years ago . 3年前關閉。

I understand the basics of how ports work.我瞭解端口如何工作的基礎知識。 However, what I don't get is how multiple clients can simultaneously connect to say port 80. I know each client has a unique (for their machine) port.但是,我不明白的是多個客戶端如何同時連接到端口 80。我知道每個客戶端都有一個唯一的(用於他們的機器)端口。 Does the server reply back from an available port to the client, and simply state the reply came from 80?服務器是否從可用端口回覆客戶端,並簡單地說明回覆來自 80? How does this work?這是如何運作的?


解決方案:

參考一: https://en.stackoom.com/question/DyBt
參考二: https://stackoom.com/question/DyBt
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章