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.