Is socket support planned?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rrBUSS9EE
Posts: 98
Joined: Wed May 02, 2012 3:46 pm

Is socket support planned?

Post by rrBUSS9EE » Wed Oct 16, 2013 3:03 pm

It has been years and this still seems to be missing. What are you nice folks using for a work around?

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Is socket support planned?

Post by bangkok » Wed Oct 16, 2013 4:19 pm

rrBUSS9EE wrote:What are you nice folks using for a work around?
Faith.
:D

I use a LiveCode Server on the local network. My Android app makes regular HTTP POST.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Is socket support planned?

Post by FourthWorld » Wed Oct 16, 2013 4:28 pm

I believe this is included on the Roadmap, under "Queued/Sockets":
http://livecode.com/community/roadmap/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

rrBUSS9EE
Posts: 98
Joined: Wed May 02, 2012 3:46 pm

Re: Is socket support planned?

Post by rrBUSS9EE » Wed Oct 16, 2013 4:44 pm

FourthWorld wrote:I believe this is included on the Roadmap, under "Queued/Sockets":
http://livecode.com/community/roadmap/
Wow... that looks a long way out! Hard to fathom that this is such a low priority.

rrBUSS9EE
Posts: 98
Joined: Wed May 02, 2012 3:46 pm

Re: Is socket support planned?

Post by rrBUSS9EE » Wed Oct 16, 2013 4:49 pm

bangkok wrote:Faith.
:D

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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Is socket support planned?

Post by FourthWorld » Wed Oct 16, 2013 5:42 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

rrBUSS9EE
Posts: 98
Joined: Wed May 02, 2012 3:46 pm

Re: Is socket support planned?

Post by rrBUSS9EE » Wed Oct 16, 2013 6:26 pm

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).

bvlahos
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 78
Joined: Tue May 01, 2012 1:52 am

Re: Is socket support planned?

Post by bvlahos » Sat Dec 07, 2013 1:04 am

The write to socket command in the Dictionary doesn't indicate Android support. Only Mac, Windows, and Linux. Does it work on Android?

trenatos
Posts: 189
Joined: Wed Jul 03, 2013 6:46 am
Location: Virginia, USA
Contact:

Re: Is socket support planned?

Post by trenatos » Mon Dec 09, 2013 1:20 am

I too long for the days of socket access, but in the mean time I guess I'll look at http post/get
Marcus

Post Reply

Return to “Android Deployment”