socket utils
Project description
socketutils
~~~~~~~~~~
socket utils:
- recvall(s, n): recv() n bytes, otherwise raise a ValueError
- recvtillend(s): recv() till s is disconnected
- recvtill(s, marker): receive message ended by marker
- recvsized(s, sizeformat='!I'): receive a sized message
- sendsized(s, data, sizeformat='!I'): send a sized message
~~~~~~~~~~
socket utils:
- recvall(s, n): recv() n bytes, otherwise raise a ValueError
- recvtillend(s): recv() till s is disconnected
- recvtill(s, marker): receive message ended by marker
- recvsized(s, sizeformat='!I'): receive a sized message
- sendsized(s, data, sizeformat='!I'): send a sized message
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
socketutils-0.3.0.zip
(1.8 kB
view hashes)