OSX 的 MQTT 客户端 CocoaMQTT

码农软件 · 软件分类 · 其他(Others) · 2019-07-18 22:57:08

软件介绍

CocoaMQTT 是用于 iOS 和 OSX 的 MQTT 客户端,用 Swift 编写。

目前支持 MQTT 3.1 (不是 MQTT 3.1.1)

使用:

let mqtt = CocoaMQTT(clientId: "CocoaMQTT-ClientId")
mqtt.username = "test"
mqtt.password = "public"
mqtt.willMessage = CocoaMQTTWill(topic: "/will", message: "dieout")
mqtt.keepAlive = 5
mqtt.delegate = CocoaMQTTCli()
mqtt.connect()


本文地址:https://codercto.com/soft/d/10440.html

Nine Algorithms That Changed the Future

Nine Algorithms That Changed the Future

John MacCormick / Princeton University Press / 2011-12-27 / GBP 19.95

Every day, we use our computers to perform remarkable feats. A simple web search picks out a handful of relevant needles from the world's biggest haystack: the billions of pages on the World Wide Web.......一起来看看 《Nine Algorithms That Changed the Future》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器