]> AND Private Git Repository - Cipher_code.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
authorRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Thu, 15 Jul 2021 17:07:54 +0000 (19:07 +0200)
committerRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Thu, 15 Jul 2021 17:07:54 +0000 (19:07 +0200)
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()