array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'zmqsocket.getsockettype.php', 1 => 'ZMQSocket::getSocketType', 2 => 'Get the socket type', ), 'up' => array ( 0 => 'class.zmqsocket.php', 1 => 'ZMQSocket', ), 'prev' => array ( 0 => 'zmqsocket.getpersistentid.php', 1 => 'ZMQSocket::getPersistentId', ), 'next' => array ( 0 => 'zmqsocket.getsockopt.php', 1 => 'ZMQSocket::getSockOpt', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zmq/zmqsocket/getsockettype.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketTypeGet the socket type

Beschreibung

public ZMQSocket::getSocketType(): int

Gets the socket type.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

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