Skip to main content

Utility functions and classes for sockets.

Function bind_next_port(sock, host, base_port)

Bind the socket sock to the first free (host,port); return the port.

Parameters:

  • sock: open socket.
  • host: target host address.
  • base_port: the first port number to try.

Class OpenSocket

A file-like object for stream sockets, which uses os.shutdown on close.

Metadata

Release files for cs.socketutils 20181228

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs.socketutils 20181228
File Size Uploaded Provenance Actions
cs.socketutils-20181228.tar.gz 2.6 kB Without provenance Details for cs.socketutils-20181228.tar.gz

Release files / cs.socketutils-20181228.tar.gz

Download URL cs.socketutils-20181228.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
27bac670840eeb9c0d5d03d877dd4bd60dc6d85fc3d19fe05a356b8e968318ca
BLAKE2b-256 checksum
How to use checksums
8180090908251b4d3f76ac55c7d04739984bda3702c41761caf0ec892f38db77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6

Security for cs.socketutils 20181228

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

20181228 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page