编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 eventutil returns the most recent socket error numberphp socket 函数 清除套接字或者最后的错误代码上的错误php socket 函数 关闭套接字资源php socket 函数 别名 socket get optionphp socket 函数 reads a maximum of length bytes from a socketphp socket 函数 从已连接的socket接收数据php socket 函数 别名 socket set optionphp socket 函数 write to a socketphp mongodb driver writeconcern returns the writeconcern s w optionphp mysqlnduhconnection sets a client 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号