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

ZMQSocket::getEndpoints

PHP function Edit on GitHub ✎

(PECL zmq >= 0.5.0)

Get list of endpoints

Description

ZMQSocket::getEndpoints(): array

Returns a list of endpoints where the socket is connected or bound to.

Parameters Parameters

Return Values

Returns an array containing elements 'bind' and 'connect'.

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