• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Use the same network port with TCP and UDP connection at the same time

dabench

Senior member
A friend and I were studying for a network test and we came up with a question we couldn't completely answer. Since you can't assign a port once you already have it assigned how does something like a DNS transfer work since DNS normally uses port 53 with UDP, what happens when a zone transfer takes place and it wants to use TCP 53? Do you have to shutdown the DNS response to queries so that you free up port 53 for the zone transfer? If not how can you use port 53 for a UDP connections and TCP connection simultaneously on the same server? Thank you
 
Like others have said, TCP & UDP use different protocols, so they can use same port number.


TCP7.jpg


5BFY3.jpg


UDP is fire and forget, it does not care if the receiving side receives the packets correctly.

TCP_vs_UDP.jpg
 
Last edited:
Back
Top