zmq_has - Man Page

check a ZMQ capability

Synopsis

int zmq_has (const char *capability);

Description

The zmq_has() function shall report whether a specified capability is available in the library. This allows bindings and applications to probe a library directly, for transport and security options.

Capabilities shall be lowercase strings. The following capabilities are defined:

When this method is provided, the zmq.h header file will define ZMQ_HAS_CAPABILITIES.

Return Value

The zmq_has() function shall return 1 if the specified capability is provided. Otherwise it shall return 0.

Authors

This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing.

Info

08/13/2020 0MQ 4.3.3 0MQ Manual