]> AND Private Git Repository - Cipher_code.git/blobdiff - measure_energy_iot/receiver.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
[Cipher_code.git] / measure_energy_iot / receiver.py
index 58d0789438ee5d33d109ef5b5ac42c06106f23af..cb3617d56cc9bcf7c24b01a300a1b6bf086a5f54 100644 (file)
@@ -26,7 +26,7 @@ data,addr = s.recvfrom(buf)
 try:
     while(data):
         f.write(data)
-        s.settimeout(2)
+        s.settimeout(1)
         data,addr = s.recvfrom(buf)
 except timeout:
     s.close()