socket_get_option

socket_get_option

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

socket_get_optionGets socket options for the socket

Description

mixed socket_get_option ( resource $socket , int $level , int $optname )

The socket_get_option() function retrieves the value for the option specified by the optname parameter for the specified socket.

Parameters

socket

登录查看完整内容