mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-14 10:02:04 +01:00

It is contriubted under the MPL-2.0. I had no knowledge of the previous implementation of zmq_proxy_steerable(). This version was developed based on expectations set in the old man page with one exception. This version uses a REP/REQ for the proxy control protocol sockets. The old man page example used PUB/SUB which is nonsensical given the STATISTICS command requires two way communication.
19 lines
476 B
C++
19 lines
476 B
C++
/* SPDX-License-Identifier: MPL-2.0 */
|
|
|
|
#ifndef __ZMQ_PROXY_HPP_INCLUDED__
|
|
#define __ZMQ_PROXY_HPP_INCLUDED__
|
|
|
|
namespace zmq
|
|
{
|
|
int proxy (class socket_base_t *frontend_,
|
|
class socket_base_t *backend_,
|
|
class socket_base_t *capture_);
|
|
|
|
int proxy_steerable (class socket_base_t *frontend_,
|
|
class socket_base_t *backend_,
|
|
class socket_base_t *capture_,
|
|
class socket_base_t *control_);
|
|
}
|
|
|
|
#endif
|