ZMQSocket::disconnect
ZMQSocket::getPersistentId
ZMQSocket
PHP Manual

# ZMQSocket::getEndpoints

(PECL zmq >= 0.5.0)

ZMQSocket::getEndpoints — Get list of endpoints

### Description

public array ZMQSocket::getEndpoints ( void )

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'.

ZMQSocket::disconnect
ZMQSocket::getPersistentId
ZMQSocket
PHP Manual