is it possible for the Arduino to keep the connection with the server "for ever"?
Once that connection is established you may send any command received over the web page to your Arduino.
Ok, so if i have a web server, is it possible for the Arduino to keep the connection with the server "for ever"?
what language should i use in the server?
I've been able to make it work in my local wifi connection but now i want it to work with an external connection so that i can manage my home from everywhere.
I'm just getting started with MQTT and it looks to me as if this is currently the best solution as it gets around the need to deal with dynamic ip addresses and port forwarding.