phpday 2027 - Call for Papers

ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketType — Get the socket type

Description

public function ZMQSocket::getSocketType(): int

Gets the socket type.

Parameters

This function has no parameters.

Return Values

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top