6 January 2021

I recently wrote a MQTT client with Swift NIO. You can find it here. This article covers how to create a simple chat client using said library.For those who don't know MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol used extensively in IoT (Internet of Things) technologies. The MQTT protocol defines two types of network entities: a message broker and a client. The broker receives all the messages from the…