PythonNetworkProgrammingCookbook ch.1