编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ZMQContext::isPersistent
  • ZMQSocket »
  • PHP Manual
  • ZMQContext
  • Set a socket option

ZMQContext::setOpt

(PECL zmq >= 1.0.4)

ZMQContext::setOpt — Set a socket option

说明

public ZMQContext::setOpt ( int $key , mixed $value ) : ZMQContext

Sets a ZMQ context option. The type of the value depends on the key. See ZMQ Constant Types for more information.

参数

key

One of the ZMQ::CTXOPT_* constants.

value

The value of the parameter.

返回值

Returns the current object. Throws ZMQContextException on error.

相关文章
php eventdnsbase set the value of a configuration optionphp ldap 函数 set the value of the given optionphp pdf 函数 set stroke color to gray deprecated php posix 函数 set the uid of the current processphp socket 函数 别名 socket get optionphp socket 函数 别名 socket set optionphp gearmanclient set socket i/o activity timeoutphp gearmanworker set socket i/o activity timeoutphp imagick set an optionphp mongocursor set the read preference for this queryphp tokyotyrant set the replication masterphp ui controls check set textphp ui controls combo set selected optionphp ui controls entry set read onlyphp ui controls radio set selected optionphp zmqcontext get context optionphp zmqcontext create a new socketphp zmqcontext set a socket optionphp zmqsocket get socket optionphp zmqsocket set a socket option
关注编程学问公众号
编程学问网 湘ICP备20001732号