ZMQSocket
PHP Manual

ZMQSocket::getSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::getSockOptGet socket option

Description

public mixed ZMQSocket::getSockOpt ( string $key )

Returns the value of a socket option.

Liste de paramètres

key

An integer representing the option. See the ZMQ::SOCKOPT_* constants.

Valeurs de retour

Returns either a chaîne de caractères or an entier depending on key. Throws ZMQSocketException on error.


ZMQSocket
PHP Manual