You can easily prove by simple app. Create tcp client, udp client and… — andreyka26_se — TG.ME

andreyka26_seThe answer is YES. The unique "key" of the connected socket is called 5-tuple: source_ip; source_port; destination_ip; destination_port; protocol Under the hood, kernel stores TCP sockets and UDP sockets in different tables -> that's why they can live together…
You can easily prove by simple app. Create tcp client, udp client and server that listens both udp and tcp on the same port.
❤3
October 11, 2026 423 1