ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketTypeGet the socket type

說明

public ZMQSocket::getSocketType(): int

Gets the socket type.

參數(shù)

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

返回值

Returns an integer representing the socket type. The integer can be compared against ZMQ::SOCKET_* constants.