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
- wrap_socket(s): Take an instance s of socket, and return an instance of socketutils.UtilSocket, which wraps utility functions as methods."""
~~~~~~~~~~
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
- wrap_socket(s): Take an instance s of socket, and return an instance of socketutils.UtilSocket, which wraps utility functions as methods."""
Metadata
Release files for socketutils 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| socketutils-0.4.0.zip | 2.0 kB | Details |
Release files / socketutils-0.4.0.zip
| Download URL | socketutils-0.4.0.zip |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8049793886bd41531c63e288675dfc960da6cf44fc7d4a9d4e54c3479ba041a
|
|
BLAKE2b-256 checksum How to use checksums |
857cbcc9cfc515e0142e4f6aa0b4e5420dedf3981fd9f33e11a554dba4bdd706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |