array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'zmqsocket.unbind.php', 1 => 'ZMQSocket::unbind', 2 => 'Unbind the socket', ), 'up' => array ( 0 => 'class.zmqsocket.php', 1 => 'ZMQSocket', ), 'prev' => array ( 0 => 'zmqsocket.setsockopt.php', 1 => 'ZMQSocket::setSockOpt', ), 'next' => array ( 0 => 'class.zmqpoll.php', 1 => 'ZMQPoll', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zmq/zmqsocket/unbind.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ZMQSocket::unbind

(PECL zmq >= 1.0.4)

ZMQSocket::unbindUnbind the socket

说明

public ZMQSocket::unbind(string $dsn): ZMQSocket

Unbind the socket from an endpoint. The endpoint is defined in format transport://address where transport is one of the following: inproc, ipc, tcp, pgm or epgm.

参数

dsn

The previously bound dsn, for example transport://address.

返回值

Returns the current object. Throws ZMQSocketException on error.