I found myself flip-flopping on this.
- “Browser - 'cos it’s Perspective.”
- “Server - 'cos it would be unsafe to run code in the browser.”
- “Browser - it’s Java - or is it?”
import os # -n for Windows ping count. -c for everything else. os.system('ping -n 1 -w 1000 22.214.171.124 > ping_out.txt')
Where am I pinging from - server or client?