January 2021
Intermediate to advanced
538 pages
10h 41m
English
In this chapter, you will learn some of the basics of Python networking using the socket module. The socket module exposes all of the necessary methods to quickly write TCP and UDP clients and servers for writing low-level network applications.
Socket programming refers to an abstract principle by which two programs can share any data stream by using an Application Programming Interface (API) for different protocols available in the internet TCP/IP stack, typically supported by the operating systems.
We will also cover implementing HTTP server and socket methods for resolving IPS domains and addresses.
The following topics will be covered in this chapter: