How to get my own IP

Björnke von Gierke bvg at
Mon Dec 30 07:57:18 EST 2002

I was trying to get my IP for a little chat program I wrote, but with 
my code I always get the local IP of my subnet ( To my 
understanding it is not possible to connect to me if the other Host 
does only know that IP. So is there a bug, is it because I coded this 
wrong, or is that IP sufficient? ( is the URL of a friend 
of mine)


on mouseUp
   open socket "" with message connected
end mouseup

on connected
   put the hostAddress of "" into field "myIP"
   close socket ""
end connected

thanks in advance
Björnke von Gierke

More information about the Use-livecode mailing list