Skip to content

Instantly share code, notes, and snippets.

@KrzysztofCiba
Created February 19, 2013 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KrzysztofCiba/4988510 to your computer and use it in GitHub Desktop.
Save KrzysztofCiba/4988510 to your computer and use it in GitHub Desktop.
[Tue, 19 Feb 19:25 E1][cibak@localhost:~]> python pipeBuf.py
send 0 B
read 0 B
send 1024 B
read 1024 B
send 2048 B
read 2048 B
[...cut...]
read 59392 B
send 60416 B
read 60416 B
send 61440 B
read 61440 B
send 62464 B
read 62464 B
send 63488 B
read 63488 B
send 64512 B
read 64512 B
^CTraceback (most recent call last):
File "pipeBad.py", line 8, in <module>
pin.send("."*i*1024)
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment