Function tmq_zmq::proxy[][src]

pub fn proxy(frontend: &Socket, backend: &Socket) -> Result<()>

Start a 0MQ proxy in the current thread.

A proxy connects a frontend socket with a backend socket, where the exact behavior depends on the type of both sockets.

This function only returns (always with an Err) when the sockets' context has been closed.