from .common import * from .zeromq import * [docs]def listen(host, port): socket = server_socket((host, port)) server = Server(socket) return server [docs]def connect(host, port): socket = client_socket((host, port)) return Client(socket)