Examples and source code for this chapter are available in GitHub repository in the chapter 6 folder: https://github.com/PacktPublishing/Mastering-Python-for-Networking-and-Security.
You will need to install Python on your local machine, and some basic knowledge about TCP protocol and requests is required.