

In order to do any of these things, first thing is to understand how mqtt works? and what are the advantages over the conventional client-server communication How Client-server communication Works? If you want to know how to setup raspberry pi for the first time, you can read it here You can also use mqtt to send data to raspeberry pi from PC. or you can use mqtt to send data to PC from raspberry pi. You can use mqtt for any small requirement of sending data from one computer to another computer. But do you know that mqtt can be a good choice of sending data in local networks too? Instead of juggling with TCP or HTTP request and running webserver, mqtt can be a super simple, yet reliable solution for local network data exchange between raspberry pi to raspberry pi or Raspberry pi to computer. We know that MQTT can be and is widely used for Internet of Things Applications.
