Last time I wrote about UDP, a simple but unreliable abstraction over IP. For reliable data transfer, the key protocol is TCP. However, this reliability comes at a cost: TCP is significantly more complicated than UDP. Rather than slog through RFC 793, we can start by looking at Python’s socket library. This is just a Pythonic wrapper around BSD sockets. These allow you to interact with network interfaces more-or-less as if they were files (e.g. with read and write, or their counterparts recv and send).
No pages have linked to this URL yet.