ZMQSocket::getEndpoints

(PECL zmq >= 0.5.0)

ZMQSocket::getEndpointsGet list of endpoints

说明

public ZMQSocket::getEndpoints ( ) : array

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

参数

此函数没有参数。

返回值

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