Sockets or similar on IOS and Android
Richard Gaskin
ambassador at fourthworld.com
Wed Dec 5 11:52:02 EST 2012
Rod McCall wrote:
> We are in the process of deciding whether to use LiveCode or another
> platform for mobile development. I gather, well at least on looking at the
> dictionary that sockets are not available on IOS or Android - at least not
> directly. Are there any relatively simple extensions or native components
> that can be used or other workarounds?
>
> We basically need to be able to support secure data connections to/from a
> server. Based on discussions from a long time ago and also on looking at
> the LiveCode dictionary (at least in 5.5.1) there is no support for sockets.
If you absolutely must use a custom protocol, you may want to contact
Monte about this as he's evaluating whether to make an external for that.
But if you're taking the more common approach of using a RESTful API
over HTTP, I believe LiveCode supports both GET and POST on iOS and Android.
For client-server stuff this is enough for me; I only use custom
protocols for peer-to-peer.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
Follow me on Twitter: http://twitter.com/FourthWorldSys
More information about the use-livecode
mailing list