Tag: TCP
Browse all articles, tutorials, and guides about TCP
Posts
Can Two Different Sockets Share a TCP Port?
Understand how TCP port sharing works with SO_REUSEADDR and SO_REUSEPORT, when multiple sockets can bind to the same port, and the limitations you need to know.
Why SCTP Is Not Widely Used Despite Its Technical Advantages
Explore why Stream Control Transmission Protocol (SCTP) remains niche despite offering features that improve on both TCP and UDP, including NAT issues, lack of OS support, and ecosystem inertia.
How Do SO_REUSEADDR and SO_REUSEPORT Differ?
Understand the difference between SO_REUSEADDR and SO_REUSEPORT socket options, when to use each one, and how they solve different problems in network programming.
Close vs Shutdown Socket
Understanding the difference between close() and shutdown() for sockets is crucial for proper connection handling. Learn when to use each, how shutdown enables half-closed connections, and how close releases file descriptors.
UDP vs TCP: How Much Faster Is UDP Really?
Understanding the performance differences between UDP and TCP protocols, when speed matters, and why UDP isn't always the faster choice in real-world applications.
When is it Appropriate to Use UDP Instead of TCP?
UDP trades reliability for speed and simplicity. Learn when to choose UDP over TCP for real-time applications, gaming, streaming, and scenarios where low latency matters more than guaranteed delivery.
Who is Listening on a Given TCP Port on Mac OS X?
Need to find out which process is using a specific port on your Mac? Here's how to check which application is listening on a TCP port using built-in macOS tools.
What Is the Difference Between a Port and a Socket?
Ports and sockets are often mentioned together in networking, but they serve different roles. This guide breaks down what they are and how they work together.