Getting cross-platform IP address

Scott Slaugh xslaugh at hotmail.com
Wed Aug 27 19:27:00 EDT 2003


> > set the itemdel to ":"
> > get HostNameToAddress(item 1 of the address)
> >
> I think the goal is to get the primary IP address of the computer not
> of a connection.  I may be confused there, too.

I do know that if you run the above script on a PC with two network adaptors
in it, it returns two network addresses.  It does seem to be detecting the
fact that there are multiple IP addresses.

Scott Slaugh



More information about the use-livecode mailing list