Getting IP Address of Machine that is Currently Running the Stack

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Oct 25 11:14:25 EDT 2006


Luis, that's why I explicitly distinguished public, LAN and local  
(machine) IP addresses.

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 25-okt-2006, om 16:59 heeft Luis het volgende geschreven:

>
>
> Mark Schonewille wrote:
>> There are several ways to get your IP address, depending on which  
>> address you need. One possibility is this one-liner:"
>>   put char 1 to -9 of (last word of line ¬
>>   lineoffset("<title>",url "http://www.whatismyip.com") ¬
>>   of url "http://www.whatismyip.com")
>
> This will get you the external IP, which may not be the IP address  
> of the workstation but rather the IP address of the router.
>
> Cheers,
>
> Luis.



More information about the Use-livecode mailing list