Categories
Networking

Creating UDP Sockets with Python’s Socket Module

UDP: connectionless, fast, and built for speed over accuracy, the go-to protocol for real-time gaming, streaming, and anything where being fast matters more than being perfect. You might think UDP can’t be explained in a single line. Nevertheless, while this article sets out to explain UDP, as we go through it, we’ll find that we’re […]

Categories
Networking

Connection Between Client and Server: Packet Flow

Once the TCP handshake completes, data begins to flow between machines. This article breaks down how that data moves across the network using the TCP protocol. Packet flow is handled by two protocols: TCP and UDP. This article covers TCP; UDP will be covered next. Prerequisites: Familiarity with the TCP/IP transport layer and basic socket […]

Categories
Networking

Connection Between Client and Server: TCP/IP Handshake

Welcome to the first chapter of Connection Between Client and Server and also the first post on this blog. Before we dive in, two things worth knowing: my tone and how I structure articles. Tone: I keep things relaxed most of the time, but when we get into technical territory you’ll notice the writing gets […]