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