© Joey Bernard 2016

Joey Bernard, Python Recipes Handbook, 10.1007/978-1-4842-0241-8_9

9. Networking and the Internet

Joey Bernard

(1)Fredericton, New Brunswick, Canada

The Internet has completely changed how we use computers. Before, we focused on what we could do with the hardware on our desks; now we can think about what work can be done on machines distributed across the globe. In this chapter, you will learn some of the core techniques for communicating with other machines over networks, such as the Internet. You’ll begin by looking at one of the lowest level methods: using sockets. The rest of the recipes will look at higher-level techniques that hide much of the complexity surrounding Internet communications.

9-1. Opening a Socket Connection ...

Get Python Recipes Handbook: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.