[google-appengine] Re: how to use paho.mqtt library in google app engine to publish as well as subscribe for messages

2015-04-15 Thread krishna g
that listener socket is not supported in google app engine environment can you provide me any other alternative other than what you provided. On Wednesday, April 1, 2015 at 12:45:02 PM UTC+5:30, krishna g wrote: import paho.mqtt.client as mqtt print(hello) mqttc = mqtt.Client(python_pub) mqttc.connect

[google-appengine] how to use paho.mqtt library in google app engine to publish as well as subscribe for messages

2015-04-01 Thread krishna g
import paho.mqtt.client as mqtt print(hello) mqttc = mqtt.Client(python_pub) mqttc.connect(test.mosquitto.org, 1883) mqttc.publish(hello/krishna, temp =28) mqttc.loop(2) #timeout = 2s -- You received this message because you are subscribed to the Google Groups Google App Engine group. To