TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.distributed.elastic.utils.get_socket_with_port

tensorplay.distributed.elastic.utils.get_socket_with_port() → socket[source]

Create a socket bound to an ephemeral local port and return it.

The caller owns the socket; close it once the port has been consumed.

On this page

Ask DeepWiki