array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'zmqsocket.getsockettype.php', 1 => 'ZMQSocket::getSocketType', ), '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', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL zmq >= 0.5.0)
ZMQSocket::getSocketType — Get the socket type
This function has no parameters.
Returns an integer representing the socket type. The integer can be compared against
ZMQ::SOCKET_*
constants.