编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 gd 和图像处理 函数 set the clipping rectanglephp ldap 函数 set the value of the given optionphp 多字节字符串 函数 set/get character encoding for multibyte regexphp socket 函数 别名 socket get optionphp socket 函数 别名 socket set optionphp gearmanclient set socket i/o activity timeoutphp gearmanworker set socket i/o activity timeoutphp imagick set colorspacephp imagick set an optionphp imagickdraw set the polygon fill rule to be used by the clipping pathphp intlbreakiterator set the text being scannedphp solrquery returns whether or not to include the upper bound term in the result setphp ui controls combo set selected optionphp 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号