编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 errorphp fdf 函数 sets an option of a fieldphp ldap 函数 get the current value for given optionphp socket 函数 关闭套接字资源php socket 函数 别名 socket get optionphp socket 函数 从已连接的socket接收数据php socket 函数 别名 socket set optionphp gearmanclient get current socket i/o activity timeout valuephp mongodb driver writeconcern returns the writeconcern s wtimeout optionphp mysqlnduhconnection sets a server optionphp zmqcontext set a socket optionphp zmqsocket bind the socketphp zmqsocket connect the socketphp zmqsocket disconnect a socketphp zmqsocket get list of endpointsphp 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号