mqtt - Mosquitto library usage with iOS -


i trying use mqtt protocol , amateur this. tried objective-c code on mosquitto library using mqttkit (https://github.com/jmesnil/mqttkit).

i able use publish messages test servers , things working fine still have basic questions, not clear me:

  1. does mosquitto library include web sockets underneath?
  2. is possible create connection, subscribe topic , server can publish messages device realtime behavior? in other words, can use real time communication between server , client (the ios device in case) bidirectional?

  1. the mosquitto library not support websockets, mqtt only.

  2. yes, mqtt bidirectional protocol. believe there difficulties keeping long term socket open on ios mean isn't straightforward support might like. i'm not familiar ios @ though.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -