Hi All, This script returns the IP address on the computer but on iphone simulator it returns "not an open socket."
Anyway to make this work? on mouseUp put "255.255.255.255:44444" into mySock open datagram socket to mySock put hostAddress(mySock) into myIP1 close socket mySock if myIP1 is "127.0.0.1" then put "Connection not successful" into cd fld "updates" put myIP1 into cd fld "updates2" else put "Connection successful" into cd fld "updates" put myIP1 into cd fld "updates2" end if end mouseUp Thanks, Debdoot _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode