ZMQSocket
PHP Manual

ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketTypeGet the socket type

설명

public integer ZMQSocket::getSocketType ( void )

Gets the socket type.

인수

이 함수는 인수가 없습니다.

반환값

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


ZMQSocket
PHP Manual