!!!!!Opps!!!!!
Some typeo's crept in! It should read - however if I append ".local"
to the machine name it returns the correct LAN address. So if I
change my function as so:
------------------------------------------------------------------
--
-- IPMGetHostIPAddressLAN
--
------------------------------------------------------------------
function IPMGetHostIPAddressLAN
local myHostName
local myHostIPAddress
put the hostName into myHostName
if char -6 to -1 myHostName <> ".local" then
put ".local" after myHostName
end if
put hostNameToAddress(myHostName) into myHostIPAddress
return myHostIPAddress
end IPMGetHostIPAddressLAN
It works!!!!!!!!!!
All the Best
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution