(PECL zmq >= 0.5.0)
ZMQSocket::getSocketType — Get the socket type
Gets the socket type.
此函数没有参数。
Returns an integer representing the socket type. The integer can be compared against ZMQ::SOCKET_* constants.
ZMQ::SOCKET_*