编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 上下文(context)选项和参数 ftp context option listingphp eventdnsbase set the value of a configuration optionphp 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 set an optionphp swoole server listen on the given ip and port socket type.php 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号