Creating a Simple Socket Server and Client in Python

Опубликовано: 28 August 2026
на канале: Real Python
46,436
872

This is a preview of a multipart video course on Socket Programming in Python. Sockets and the socket API are used to send messages across a network. They provide a form of inter-process communication (IPC). The network can be a logical, local network to the computer, or one that’s physically connected to an external network, with its own connections to other networks. You will learn how to create a simple socket server and client in Python.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...

The rest of the course covers:
Handling multiple connection with the selectors module
Build an improved client and server
Considering tools for troubleshooting