(PECL zmq >= 0.5.0)
ZMQSocket::getEndpoints — Get list of endpoints
Returns a list of endpoints where the socket is connected or bound to.
This function has no parameters.
Returns an array containing elements 'bind' and 'connect'.