update : 2015.11.03
php.shukuma.com

검색:
 
 
Get socket option

ZMQSocket::getSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::getSockOptGet socket option

설명

public mixed ZMQSocket::getSockOpt ( string $key )

Returns the value of a socket option.

인수

key

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

반환값

Returns either a string or an integer depending on key. Throws ZMQSocketException on error.