check if online
hi,
i'm not close network, networkprotocolls , co.
question:
will safe way check if user 'online' (connected internet wlan or lan or ...)
var myconnection = new socket(); if(myconnection.open ("www.google.de:80")) {myconnection.close();}else{alert('not connected.')}
hi,
- your code definitly works
- being able connect "google.de" not save definition of being "online". firewalls, proxies etc can ruin day.
- rather check connection online service want connect (if google, forget said) ..
regards
b.
More discussions in InDesign Scripting
adobe
Comments
Post a Comment