Created
May 16, 2016 08:34
-
-
Save nemith/2dd507d40ae9716c5fb16fa29b178880 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| while True: | |
| chunk = self.socket.recv(4096) | |
| if not chunk: | |
| break | |
| buf += chunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment