Created
June 27, 2018 23:54
-
-
Save Fhernd/04470e9860833211d9a7f49ba67b4493 to your computer and use it in GitHub Desktop.
Procesamiento de datos con while infinito. OrtizOL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PARTICIONAMIENTO = 8192 | |
def leerDatos(entrada): | |
while True: | |
datos = entrada.recv(PARTICIONAMIENTO) | |
if datos == b'': | |
break | |
# realizar procesamiento con los datos leídos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment