hostAddressToName() returns an error if there is no internet connection. Not 
empty. Unless the dictionary is wrong.

Bob S


On Jan 18, 2015, at 20:15 , Brahmanathaswami 
<[email protected]<mailto:[email protected]>> wrote:

  put  hostAddressToName(tIP) into tServer
  if tServer is Empty then
     set the dialogData to  "Sorry, there is a connection problem. Turn on 
airport or make sure your ethernet cable is pluggedin, then try again."
     showStatus
     wait 1 second
     exit to top
  else
     CheckVarunaIsMounted
  end if

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to