Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZMQSocket::setSockOptZMQSocketException>
^ZMQSocketLast updated: Mon, 26 Oct 2026

ZMQSocket::unbind

(PECL zmq >= 1.0.4)

ZMQSocket::unbind — Unbind the socket

Description

public function 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.

Parameters

dsn

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

Return Values

Returns the current object. Throws ZMQSocketException on error.


<ZMQSocket::setSockOptZMQSocketException>
^ZMQSocketLast updated: Mon, 26 Oct 2026