« ZMQSocket::getPersistentId
ZMQSocket::getSockOpt »

ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketType — Get the socket type

説明

public function ZMQSocket::getSocketType(): int

Gets the socket type.

パラメータ

この関数にはパラメータはありません。

戻り値

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

関連キーワード:
ZMQSocket   socket   type   getSocketType   integer   getPersistentId   getSockOpt   Gets   representing   compared   against   constants
関連する関数・ページ:
zmqsocket.getsockopt   class.zmqsocket   zmqsocket.setsockopt   zmqsocket.getpersistentid   zmqsocket.ispersistent   zmqsocket.connect