O'Reilly logo

Foundations of Python Network Programming, Third Edition by John Goerzen, Brandon Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

Socket Names and DNS

Having spent the previous two chapters learning the basics of UDP and TCP, the two major data transports available on IP networks, it is time for me to step back and talk about two larger issues that need to be tackled, regardless of which data transport you are using. In this chapter, I will discuss the topic of network addresses, and I will describe the distributed service that allows names to be resolved to raw IP addresses.

Hostnames and Sockets

We rarely type raw IP addresses into our browser or e-mail client. Instead, we type domain names. Some domain names identify entire organizations, like python.org and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required