(PECL zmq >= 0.5.0)
ZMQ::SOCKET_PAIRExclusive pair pattern
ZMQ::SOCKET_PUBPublisher socket
ZMQ::SOCKET_SUBSubscriber socket
ZMQ::SOCKET_REQRequest socket
ZMQ::SOCKET_REPReply socket
ZMQ::SOCKET_XREQAlias for SOCKET_DEALER
ZMQ::SOCKET_XREPAlias for SOCKET_ROUTER
ZMQ::SOCKET_PUSHPipeline upstream push socket
ZMQ::SOCKET_PULLPipeline downstream pull socket
ZMQ::SOCKET_ROUTERExtended REP socket that can route replies to requesters
ZMQ::SOCKET_DEALERExtended REQ socket that load balances to all connected peers
ZMQ::SOCKET_XPUBSimilar to SOCKET_PUB, except you can receive subscriptions as messages. The subscription message is 0 (unsubscribe) or 1 (subscribe) followed by the topic.
ZMQ::SOCKET_XSUBSimilar to SOCKET_SUB, except you can send subscriptions as messages. See SOCKET_XPUB for format.
ZMQ::SOCKET_STREAMUsed to send and receive TCP data from a non-ØMQ peer. Available if compiled against ZeroMQ 4.x or higher (Value: int).
ZMQ::SOCKOPT_HWMThe high water mark for inbound and outbound messages is a hard limit on the maximum number of outstanding messages ØMQ shall queue in memory for any single peer that the specified socket is communicating with. Setting this option on a socket will only affect connections made after the option has been set. On ZeroMQ 3.x this is a wrapper for setting both SNDHWM and RCVHWM. (Value: int).
ZMQ::SOCKOPT_SNDHWMThe ZMQ_SNDHWM option shall set the high water mark for outbound messages on the specified socket. Available if compiled against ZeroMQ 3.x or higher (Value: int).
ZMQ::SOCKOPT_RCVHWMThe SOCKOPT_RCVHWM option shall set the high water mark for inbound messages on the specified socket. Available if compiled against ZeroMQ 3.x or higher (Value: int).
ZMQ::SOCKOPT_AFFINITYSet I/O thread affinity (Value: int)
ZMQ::SOCKOPT_IDENTITYSet socket identity (Value: string)
ZMQ::SOCKOPT_SUBSCRIBEEstablish message filter. Valid for subscriber socket (Value: string)
ZMQ::SOCKOPT_UNSUBSCRIBERemove message filter. Valid for subscriber socket (Value: string)
ZMQ::SOCKOPT_RATESet rate for multicast sockets (pgm) (Value: int >= 0)
ZMQ::SOCKOPT_RECOVERY_IVLSet multicast recovery interval (Value: int >= 0)
ZMQ::SOCKOPT_RECONNECT_IVLSet the initial reconnection interval (Value: int >= 0)
ZMQ::SOCKOPT_RECONNECT_IVL_MAXSet the max reconnection interval (Value: int >= 0)
ZMQ::SOCKOPT_MCAST_LOOPControl multicast loopback (Value: int >= 0)
ZMQ::SOCKOPT_SNDBUFSet kernel transmit buffer size (Value: int >= 0)
ZMQ::SOCKOPT_RCVBUFSet kernel receive buffer size (Value: int >= 0)
ZMQ::SOCKOPT_RCVMOREReceive multi-part messages (Value: int)
ZMQ::SOCKOPT_TYPEGet the socket type. Valid for getSockOpt (Value: int)
ZMQ::SOCKOPT_LINGERThe linger value of the socket. Specifies how long the socket blocks trying flush messages after it has been closed (Value: int)
ZMQ::SOCKOPT_BACKLOGThe SOCKOPT_BACKLOG option shall set the maximum length of the queue of outstanding peer connections for the specified socket; this only applies to connection-oriented transports. (Value: int)
ZMQ::SOCKOPT_MAXMSGSIZELimits the maximum size of the inbound message. Value -1 means no limit. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_SNDTIMEOSets the timeout for send operation on the socket. Value -1 means no limit. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_RCVTIMEOSets the timeout for receive operation on the socket. Value -1 means no limit. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_IPV4ONLYDisable IPV6 support if 1. Available if compiled against ZeroMQ 3.x (Value: int)
ZMQ::SOCKOPT_LAST_ENDPOINTRetrieve the last connected endpoint - for use with * wildcard ports. Available if compiled against ZeroMQ 3.x or higher (Value: string)
ZMQ::SOCKOPT_TCP_KEEPALIVE_IDLEIdle time for TCP keepalive. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_TCP_KEEPALIVE_CNTCount time for TCP keepalive. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_TCP_KEEPALIVE_INTVLInterval for TCP keepalive. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::SOCKOPT_DELAY_ATTACH_ON_CONNECTSet a CIDR string to match against incoming TCP connections. Available if compiled against ZeroMQ 3.x or higher (Value: string)
ZMQ::SOCKOPT_TCP_ACCEPT_FILTERSet a CIDR string to match against incoming TCP connections. Available if compiled against ZeroMQ 3.x or higher (Value: string)
ZMQ::SOCKOPT_XPUB_VERBOSESet the XPUB to receive an application message on each instance of a subscription. Available if compiled against ZeroMQ 3.x or higher (Value: string)
ZMQ::SOCKOPT_ROUTER_RAWSets the raw mode on the ROUTER, when set to 1. In raw mode when using tcp:// transport the socket will read and write without ZeroMQ framing. Available if compiled against ZeroMQ 4.0 or higher (Value: string)
ZMQ::SOCKOPT_IPV6Enable IPV6. Available if compiled against ZeroMQ 4.0 or higher (Value: string)
ZMQ::CTXOPT_MAX_SOCKETSThe socket limit for this context. Available if compiled against ZeroMQ 3.x or higher (Value: int)
ZMQ::POLL_INPoll for incoming data
ZMQ::POLL_OUTPoll for outgoing data
ZMQ::MODE_NOBLOCKNon-blocking operation. Deprecated, use ZMQ::MODE_DONTWAIT instead
ZMQ::MODE_DONTWAITNon-blocking operation
ZMQ::MODE_SNDMORESend multi-part message
ZMQ::DEVICE_FORWARDERForwarder device
ZMQ::DEVICE_QUEUEQueue device
ZMQ::DEVICE_STREAMERStreamer device
ZMQ::ERR_INTERNALZMQ extension internal error
ZMQ::ERR_EAGAINImplies that the operation would block when ZMQ::MODE_DONTWAIT is used
ZMQ::ERR_ENOTSUPThe operation is not supported by the socket type
ZMQ::ERR_EFSMThe operation can not be executed because the socket is not in correct state
ZMQ::ERR_ETERMThe context has been terminated