pub fn proxy(frontend: &Socket, backend: &Socket) -> Result<()>
Expand description
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.