ZMQSocket::getSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::getSockOpt — Obtener la opción de un socket

Descripción

public function ZMQSocket::getSockOpt(string $key): mixed

Devuelve el valor de la opción de un socket.

Parámetros

key

Un número entero que representa la opción. Véanse las constantes ZMQ::SOCKOPT_*.

Valores devueltos

Devuelve un string o un int dependiendo de key. Lanza una ZMQSocketException en caso de error.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top