Chapter 16. Network Programming

Chapter Topics

  • Introduction: Client-Server Architecture

  • Sockets: Communication Endpoints

    • Socket Addresses

    • Connection-oriented vs. Connectionless Sockets

  • Network Programming in Python

    • socket Module

    • Socket Object Methods

    • TCP/IP Client and Server

    • UDP/IP Client and Server

  • Related Modules

In this section, we will take a brief look at network programming using sockets. We will first present some background information on network programming, how sockets apply to Python, then show you how to use some of Python's modules to build networked applications.

Get Core Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.