Page 1 of 1
Is socket support planned?
Posted: Wed Oct 16, 2013 3:03 pm
by rrBUSS9EE
It has been years and this still seems to be missing. What are you nice folks using for a work around?
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 4:19 pm
by bangkok
rrBUSS9EE wrote:What are you nice folks using for a work around?
Faith.
I use a LiveCode Server on the local network. My Android app makes regular HTTP POST.
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 4:28 pm
by FourthWorld
I believe this is included on the Roadmap, under "Queued/Sockets":
http://livecode.com/community/roadmap/
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 4:44 pm
by rrBUSS9EE
Wow... that looks a long way out! Hard to fathom that this is such a low priority.
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 4:49 pm
by rrBUSS9EE
bangkok wrote:Faith.
I use a LiveCode Server on the local network. My Android app makes regular HTTP POST.
Thanks. I thought about building a little server here to bridge http requests to strings sent to specific gateways, but it seems like a lot to ask a client to dedicate a server to support a simple mobile app to communicate over IP.
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 5:42 pm
by FourthWorld
Given that most mobile devs are connecting to services running over HTTP, which is working well now, other socket support may seem a low priority but only because it's not as commonly needed.
Monte may have an external in the works for this in the meantime, but for now can you provide a little more detail on what sort of service you're connecting to? Perhaps there's another solution available.
Re: Is socket support planned?
Posted: Wed Oct 16, 2013 6:26 pm
by rrBUSS9EE
FourthWorld wrote:can you provide a little more detail on what sort of service you're connecting to? Perhaps there's another solution available.
Simple TCP to LAN based, IP controlled hardware...
write <string> to socket <IP:port>
While it would be nice to receive the result from these kinds of command strings, it is certainly not necessary as there is little chance for error over the LAN from these simple devices. While some devices support multiple connections and the ports can be left open, some do not, so it is necessary to have the ability to close them (for instance... when the program is backgrounded).
Re: Is socket support planned?
Posted: Sat Dec 07, 2013 1:04 am
by bvlahos
The write to socket command in the Dictionary doesn't indicate Android support. Only Mac, Windows, and Linux. Does it work on Android?
Re: Is socket support planned?
Posted: Mon Dec 09, 2013 1:20 am
by trenatos
I too long for the days of socket access, but in the mean time I guess I'll look at http post/get