Foundations of Python Network Programming, Third Edition, covers all of the classic topics found in the second edition of this book, including network protocols, network data and errors, email, server architecture, and HTTP and web applications, plus updates for Python 3.
Some of the new topics in this edition include:
• Extensive coverage of the updated SSL support in Python 3
• How to write your own asynchronous I/O loop.
• An overview of the "asyncio" framework that comes with Python 3.4.
• How the Flask web framework connects URLs to your Python code.
• How cross-site scripting and cross-site request forgery can be used to attack your web site, and how to protect against them.
• How a full-stack web framework like Django can automate the round trip from your database to the screen and back.
If you're a Python programmer who needs a deep understanding of how to use Python for network-related tasks and applications, this is the book for you. From web application developers, to systems integrators, to system administrators—this book has everything that you need to know.
Table of contents
- Contents at a Glance
- About the Authors
- About the Technical Reviewers
- Chapter 1: Introduction to Client-Server Networking
- Chapter 2: UDP
- Chapter 3: TCP
Chapter 4: Socket Names and DNS
- Hostnames and Sockets
- Modern Address Resolution
- The DNS Protocol
- Chapter 5: Network Data and Network Errors
- Chapter 6: TLS/SSL
- Chapter 7: Server Architecture
- Chapter 8: Caches and Message Queues
- Chapter 9: HTTP Clients
- Chapter 10: HTTP Servers
Chapter 11: The World Wide Web
- Hypermedia and URLs
- The Hypertext Markup Language
- Reading and Writing to a Database
- A Terrible Web Application (in Flask)
- The Dance of Forms and HTTP Methods
- The Payments Application in Django
- Choosing a Web Framework
- Web Scraping
- Chapter 12: Building and Parsing E-Mail
Chapter 13: SMTP
- E-mail Clients vs. Webmail Services
- How SMTP Is Used
- Introducing the SMTP Library
- Error Handling and Conversation Debugging
- Getting Information fromEHLO
- Using Secure Sockets Layer and Transport Layer Security
- Authenticated SMTP
- SMTP Tips
- Chapter 14: POP
- Chapter 15: IMAP
Chapter 16: Telnet and SSH
- Command-Line Automation
- SSH: The Secure Shell
Chapter 17: FTP
- What to Use Instead of FTP
- Chapter 18: RPC
- Title: Foundations of Python Network Programming, Third Edition
- Release date: August 2014
- Publisher(s): Apress
- ISBN: 9781430258551
You might also like
Learning Python Network Programming
Utilize Python 3 to get network applications up and running quickly and easily In Detail Network …
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
Tiny Python Projects
The projects are tiny, but the rewards are big: each chapter in Tiny Python Projects challenges …
Hands-On Enterprise Automation with Python.
Invent your own Python scripts to automate your infrastructure About This Book Make the most of …