Skip to content Skip to sidebar Skip to footer

Native App To Server Communication

I am writing a mobile trading app (android/ios) and i need suggestions on the best way to connect the app to the server (messageQ) If i use raw TCP connection , would my users hav

Solution 1:

Have you considerer to use MQTT?

If you don't need AMQP you can also use directly an MQTT broker, such as http://mosquitto.org/ or http://www.hivemq.com/

Here (https://github.com/owntracks) you can find some ready libraries for iPhone and Android.

In order to solve the the firewall problem MQTT is available over HTTP.

You can read here: http://www.hivemq.com/mqtt-over-websockets-with-hivemq/ or here http://mqtt.org/wiki/doku.php/mqtt_over_websockets

This post can also help you : (https://www.ibm.com/developerworks/community/blogs/sowhatfordevs/entry/using_mqtt_protocol_advantages_over_http_in_mobile_application_development5?lang=en)

For a iPhone application I used directly MQTT and as server RabbitMQ with the MQTT plug-in http://www.rabbitmq.com/mqtt.html

I hope it can be useful 

Post a Comment for "Native App To Server Communication"