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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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