php8.5
Home/ Manual/ zmq / zmqsocket/ ZMQSocket::getSocketType

ZMQSocket::getSocketType

PHP function Edit on GitHub ✎

(PECL zmq >= 0.5.0)

Get the socket type

Description

ZMQSocket::getSocketType(): int

Gets the socket type.

Parameters Parameters

Return Values

Returns an integer representing the socket type. The integer can be compared against ZMQ::SOCKET_* constants.

Source: reference/zmq/zmqsocket/getsockettype.xml · from the official PHP manual (php/doc-en)