What is the difference between "TCP" and "UDP" as they relate to commands like "netstat" or "ss" showing open ports?
Correct! Well done.
Incorrect.
The correct answer is A) TCP is connection-oriented, establishing a reliable, ordered connection before transfer (visible as states like ESTABLISHED or LISTEN), while UDP is connectionless, so UDP "ports" are just sockets ready to send/receive datagrams without a handshake
Correct Answer
TCP is connection-oriented, establishing a reliable, ordered connection before transfer (visible as states like ESTABLISHED or LISTEN), while UDP is connectionless, so UDP "ports" are just sockets ready to send/receive datagrams without a handshake
TCP connections go through states (LISTEN, ESTABLISHED, etc.) visible in netstat/ss output because of its connection-oriented nature, while UDP sockets simply show as bound/listening since UDP has no formal connection setup or teardown.