In this tutorial, you’ll learn how to exchange data between a client and a server using Python socket programming and the Socket API.  Later, this tutorial will discuss exchanging data directly between two or more Python clients using a hosted provider. The source code used in this tutorial can be found within the GitHub repository.

Socket programming connects two sockets (a client socket and a server socket) and allows them to communicate bi-directionally in real time.  Direct socket connections can benefit all real-time applications since data can be sent or received anytime.

Leave a Reply

Your email address will not be published. Required fields are marked *