In this section, you will learn about basic TCP/IP socket programming using Python sockets in Python 3.7 with the TCP and UDP protocols.
Working with UDP and TCP sockets in Python 3.7
Introduction to the TCP and UDP protocols
The properties of a socket depend on the characteristics of the protocol in which they are implemented. Generally, communication with sockets is done through a protocol of the TCP/IP family. The two most common are TCP and UDP.
When implemented with the TCP protocol, the sockets have the following properties:
- Connection-oriented.
- The transmission of all packets is guaranteed without errors or omissions.
- It is guaranteed that every packet will reach its destination in the same order in which it was transmitted...