20/03/10 11:50
BugliL
Qual'è uno script in python per vedere se un computer è connesso ad internet?
aaa
23/03/10 10:06
BugliL
Questo sistema va bene, ma c'è anche un sistema un po' più raffinato?
aaa
06/06/10 0:56
BugliL
Per pingare con un po' più di classe hanno creato una libreria
(
stackoverflow.com/questions/316866/…)
import ping, socket
try:
delay = ping.do_one('www.google.com', timeout=2)
except socket.error, e:
print "Ping Error:", e
Ultima modifica effettuata da BugliL 06/06/10 1:27
aaa