socket_get_status
(PHP 4 >= 4.0.0)socket_get_status -- Returns information about existing socket resource
Description
array socket_get_status ( resource socket_get_status)
Returns information about an existing socket resource. Currently returns four entries in the result array:
timed_out (bool) - The socket timed out waiting for data blocked (bool) - The socket was blocked eof (bool) - Indicates EOF event unread_bytes (int) - Number of bytes left in the socket buffer
(PHP 4 >= 4.0.0)socket_get_status -- Returns information about existing socket resource
Description
array socket_get_status ( resource socket_get_status)
Returns information about an existing socket resource. Currently returns four entries in the result array:
timed_out (bool) - The socket timed out waiting for data blocked (bool) - The socket was blocked eof (bool) - Indicates EOF event unread_bytes (int) - Number of bytes left in the socket buffer
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货