executorlib.standalone.interactive.communication.interface_connect#
- executorlib.standalone.interactive.communication.interface_connect(host: str, port: str) tuple[Context, Socket][source]#
Connect to an existing SocketInterface instance by providing the hostname and the port as strings.
- Parameters:
host (str) – hostname of the host running the SocketInterface instance to connect to.
port (str) – port on the host the SocketInterface instance is running on.
- Returns:
The ZMQ context and the connected PAIR socket.
- Return type:
Tuple[zmq.Context, zmq.Socket]