TCP

`SOCK_STREAM` is Not TCP: Understanding Socket Types vs. Protocols

SOCK_STREAM is Not TCP: Understanding Socket Types vs. Protocols

Many developers assume SOCK_STREAM is synonymous with TCP. It isn’t. Learn why socket types and transport protocols are distinct concepts, and how …

Read More
Beyond the Port: How the OS Actually Binds and Connects

Beyond the Port: How the OS Actually Binds and Connects

When I first started learning networking, I thought a ‘Port’ was just like a physical socket on the back of a server. You plug a process …

Read More
How to Check TCP Port Reachability in Python (Sync & Async)

How to Check TCP Port Reachability in Python (Sync & Async)

Nothing stalls a deployment quite like a ‘Connection Refused’ error that you didn’t see coming. Whether you’re debugging a …

Read More