编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 多字节字符串 函数 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 an optionphp intlbreakiterator set the text being scannedphp sphinxclient set grouping attributephp sqlite3result closes the result setphp swoole atomic set a new value to the atomic object.php swoole client set the swoole client parameters before the connection is established.php 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号