finding local IP?

kweto nrkweto03 at hotmail.com
Tue Dec 21 03:40:26 EST 2004


Hello All,

Thanks to much kind advise, I can now create stacks that are able to
interact over my school's LAN. Next step is to simplify my messy scripting
methods.

Question: Is there a Rev command (or elegant trick?) for retrieving the
local IP address of the computer on which a stack is running?

For the moment, my half-baked solution is to (1) use the router software to
assign each computer a permanent IP address, and then (2) store those IP
addresses as a text file. That way, each time a LAN-based stack opens it
retrieves its computer's IP address from that text file.

There must be a better way, though!

Cheers,
Nicolas Cueto
(Japan)


More information about the use-livecode mailing list