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

ZMQSocket::setSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::setSockOpt — Set a socket option

说明

public ZMQSocket::setSockOpt ( int $key , mixed $value ) : ZMQSocket

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

参数

key

One of the ZMQ::SOCKOPT_* constants.

value

The value of the parameter.

返回值

Returns the current object. Throws ZMQSocketException on error.

相关文章
php eventdnsbase set the value of a configuration optionphp gnupg 函数 removes all keys which were set for encryption beforephp ldap 函数 set the value of the given optionphp socket 函数 别名 socket get optionphp socket 函数 别名 socket set optionphp gearmanclient set socket i/o activity timeoutphp gearmanworker set socket i/o activity timeoutphp imagick append a set of imagesphp imagick set an optionphp ui controls combo set selected optionphp ui controls radio set selected optionphp zmqcontext set a socket optionphp zmqsocket bind the socketphp zmqsocket connect the socketphp zmqsocket disconnect a socketphp zmqsocket get the socket typephp zmqsocket get socket optionphp zmqsocket whether the socket is persistentphp zmqsocket set a socket optionphp zmqsocket unbind the socket
关注编程学问公众号
编程学问网 湘ICP备20001732号