help with openSocket in iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jagiron
Posts: 19
Joined: Mon Feb 20, 2012 12:47 am

help with openSocket in iOS

Post by jagiron » Thu Mar 29, 2012 6:19 am

i have this code and work in windows and mac but not in iOS:

if the environment is "mobile" then mobileBusyIndicatorStart "square", "Opening..."
if the openSockets is not empty then resetAll
open socket to "localhost:3333" with message "iamconnected"

in mac and windows connect well and active the message iamconnected, but in ios not open the socket

any idea?
thanks

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: help with openSocket in iOS

Post by monte » Thu Mar 29, 2012 7:41 am

Hi

There's no socket support on iOS use the external in the sdk.

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jagiron
Posts: 19
Joined: Mon Feb 20, 2012 12:47 am

Re: help with openSocket in iOS

Post by jagiron » Thu Mar 29, 2012 3:09 pm

thanks, how i can use it? any example
thanks

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: help with openSocket in iOS

Post by monte » Fri Mar 30, 2012 1:39 am

There's an example stack in the externals sdk.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply