CakeFest 2024: The Official CakePHP Conference

ZMQSocket::getSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::getSockOptObtém a opção do socket

Descrição

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

Retorna o valor de uma opção de socket.

Parâmetros

key

Um inteiro representando a opção. Consulte as constantes ZMQ::SOCKOPT_*.

Valor Retornado

Retorna tanto uma string ou um int dependendo do parâmetro key. Lança uma exceção ZMQSocketException caso haja erro.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top