PHP 8.5.0 RC 2 available for testing

ZMQSocket::getEndpoints

(PECL zmq >= 0.5.0)

ZMQSocket::getEndpoints β€” Get list of endpoints

Description

public ZMQSocket::getEndpoints(): array

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

Parameters

This function has no parameters.

Return Values

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

οΌ‹add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top