Overview
This course teaches learners how to use sockets in Python. The learning outcomes include understanding Internet Protocols such as UDP and TCP, socket options, hostname resolution, non-blocking socket operations, handling signals, stream data buffering, and utilizing tools like Greenlet, Eventlet, and Twisted. The course covers various skills such as creating connected sockets, working with socket options, resolving hostnames, and handling stream data efficiently. The teaching method involves a combination of theoretical explanations, practical examples, and demonstrations. The intended audience for this course is individuals interested in network programming using Python.
Syllabus
Intro
What do I know about this?
Prequel
Internet Protocol
UDP and TCP
UDP Basics
UDP Connected Sockets
TCP Basics
TCP State Diagram
Socket Options
Hostname Resolution
Getaddrinfo.example
Getaddrinfo . The Tools
Non-Blocking Socket
Handling Signals
Handling Stream Data
Buffering of Stream Data
Using sock.makefile()
Advanced sock.makefile()
Greenlet-based
Eventlet Example
Twisted
Summary
Taught by
EuroPython Conference