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

ZMQSocket::getSockOpt

(PECL zmq >= 0.5.0)

ZMQSocket::getSockOpt — Get socket option

说明

public ZMQSocket::getSockOpt ( string $key ) : mixed

Returns the value of a socket option.

参数

key

An integer representing the option. See the ZMQ::SOCKOPT_* constants.

返回值

Returns either a string or an integer depending on key. Throws ZMQSocketException on error.

相关文章
php apd 函数 stops the interpreter and waits on a cr from the socketphp ldap 函数 set the value of the given optionphp socket 函数 export a socket extension resource into a stream that encapsulates a socketphp socket 函数 别名 socket get optionphp socket 函数 sends a message to a socket whether it is connected or notphp socket 函数 别名 socket set optionphp gearmanworker get socket i/o activity timeoutphp mongodb driver readpreference returns the readpreference s maxstalenessseconds optionphp swoole event remove all event callback functions of a socket.php swoole server listen on the given ip and port socket type.php 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 receives a multipart messagephp zmqsocket set a socket optionphp zmqsocket unbind the socket
关注编程学问公众号
编程学问网 湘ICP备20001732号