Python Network Programming
Python scripts from the book: Python Network Programming Cookbook - 2nd Edition
Chapter 01 - Sockets, IPv4, and Simple Client/Server Programming
- Printing your machine's name and IPv4 address
- Retrieving a remote machine's IP address
- Converting an IPv4 address to different formats
- Finding a service name, given the port and protocol
- Converting integers to and from host to network byte order
- Setting and getting the default socket timeout
- Handling socket errors gracefully
- Modifying a socket's send/receive buffer sizes
- Changing a socket to the blocking/non-blocking mode
- Reusing socket addresses
- Printing the current time from the internet time server
- Writing an SNTP client
- Writing a simple TCP echo client/server application
- Writing a simple UDP echo client/server application
Chapter 02 - Multiplexing Socket I/O for Better Performance
- Using ForkingMixIn in your socket server applications
- Using ThreadingMixIn in your socket server applications
- Writing a chat server using select.select
- Multiplexing a web server using select.epoll
- Multiplexing an echo server using Diesel concurrent library
Chapter 03 - IPv6, Unix Domain Sockets, and Network Interfaces
Chapter 04 - Programming with HTTP for the Internet
Chapter 05 - Email Protocols, FTP, and CGI Programming
Chapter 06 - Programming Across Machine Boundaries
Chapter 07 - Working with Web Services – XML-RPC, SOAP, and REST
Chapter 08 - Network Monitoring and Security
Chapter 09 - Network Modeling
Chapter 10 - Getting Started with SDN
Chapter 11 - Authentication, Authorization, and Accounting (AAA)
Chapter 12 - Open and Proprietary Networking Solutions
Chapter 13 - NFV and Orchestration – A Larger Ecosystem
Chapter 14 - Programming the Internet