Socket Programming


In this lecture, you will learn python socket programming. We’ll start off with what python socket programming is. Then we’ll discuss how TCP (vs UDP) works. Next off, we’ll see how to write a client server program in python. Some failure cases are also discussed such as connection to python debugger failed socket closed and echo/ping cases. The outline of this lecture is as follows:

00:00 Intro
00:56 What is Socket Programming ?
04:05 TCP: Transmission Control Protocol
07:10 TCP Socket Flow
10:43 Python Socket: Connecting to an Existing Server
16:13 Creating a python echo server
20:40 Creating a python client
23:40 Connecting multiple clients
23:52 Outro