zmq_plain man page

zmq_plain ā€” clear-text authentication


The PLAIN mechanism defines a simple username/password mechanism that lets a server authenticate a client. PLAIN makes no attempt at security or confidentiality. It is intended for use on internal networks where security requirements are low. The PLAIN mechanism is defined by this document:


To use PLAIN, the server shall set the ZMQ_PLAIN_SERVER option, and the client shall set the ZMQ_PLAIN_USERNAME and ZMQ_PLAIN_PASSWORD socket options. Which peer binds, and which connects, is not relevant.

See Also

zmq_setsockopt(3) zmq_null(7) zmq_curve(7) zmq(7)


This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at

Referenced By

zmq(7), zmq_curve(7), zmq_null(7), zmq_setsockopt(3).

01/17/2018 0MQ 4.2.4 0MQ Manual