Determining LAN IP

Monte Goulding monte at sweattechnologies.com
Thu Aug 26 20:42:28 EDT 2010


> For example, if my Rev built-in server listen at port 9876, I can make the
> iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 trying to
> connect on port 9876, no manual ip thing needed but could be provided if
> automatic lookup failed.

Hmm.... I never thought of that. What about using 255.255.255.255 to broadcast to find the server? Anyone done this before? One issue is it's possible that there could be more than one sync server on the LAN although we could respond with some details so the user could choose. 

Cheers

Monte


More information about the use-livecode mailing list