sarker f. m. o. - learning python network programming - 2015.pdf

(9646 KB) Pobierz
Learning Python Network Programming
Table of Contents
Learning Python Network Programming
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Virtual environments
Installing Python 3
Ubuntu and Debian
RHEL, CentOS, Scientific Linux
Fedora
Alternative installation methods
Pythonz
JuJu
Windows
Other requirements
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Network Programming and Python
An introduction to TCP/IP networks
IP addresses
Network interfaces
Assigning IP addresses
IP addresses on the Internet
Packets
Networks
Routing with IP
DNS
The protocol stack or why the Internet is like a cake
Layer 4 – TCP and UDP
Network ports
UDP
TCP
UDP versus TCP
Layer 5 – The application layer
On to Python!
Network programming with Python
Breaking a few eggs
Taking it from the top
Downloading an RFC
Looking deeper
Programming for TCP/IP networks
Firewalls
Network Address Translation
IPv6
Summary
2. HTTP and Working with the Web
Request and response
Requests with urllib
Zgłoś jeśli naruszono regulamin