The Basics
Explore foundational socket programming concepts in Python, including creating UDP and TCP sockets, client-server architecture, and writing your own chat application. This lesson helps you understand how network applications communicate and how to implement them using Python.
We'll cover the following...
We'll cover the following...
Socket Programming
-
Recall that network applications usually consist of two programs: the server program and the client program. These programs reside on two separate end systems.
-
When any of these programs want to communicate with another, they write the data they want to send to their sockets. The underlying protocols then deliver the data to the appropriate destination.
Types of Network Applications
-
Standard: applications that use well-known protocols ...