Could use some explanations.
To be honest, I haven't read the code in full, but I saw that you didn't write any comments. As I understood it, your intention was to teach people Python by example, and a comment here and there would not hurt that cause.
Furthermore, "understanding things by reading is a total waste of time" is a notion I have to oppose strongly. Of course, actually using your knowledge for, say, pentesting or programming or the like is essential, but it doesn't make the acquiring of knowledge by reading useless. Theory is also an important part of hacking (and the connected world in general), for example how the stack and the heap work or what binary / hexadecimal is (and many more topics of course).
But apart from this, I'd like to thank you for your contribution. Python is one of the most commonly used languages in hacking and building a client/server - application and understanding how networking works is essential for every hacker.