]> 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..0841a156d6ec11de6ba83266b8447f4422a82803 100644 (file)
@@ -26,7 +26,7 @@ data,addr = s.recvfrom(buf)
 try:
     while(data):
         f.write(data)
-        s.settimeout(2)
+        s.settimeout(0.001)
         data,addr = s.recvfrom(buf)
 except timeout:
     s.close()