This recipe shows you how to use sockets to communicate via TCP/IP. In order to achieve this, we need both an IP address and a port number.
In order to keep things simple and independent of changing internet IP addresses, we will create our own local TCP/IP server and client, and we will learn how to connect the client to the server and read data via a TCP/IP connection.
We will integrate this networking capability into our GUI by using the queues we created in the previous recipes.
TCP/IP short for Transmission Control Protocol/Internet Protocol, which is a set of networking protocols that allows two or more computers to communicate.