PHP Wysardry
PHP Manual

PHP documentation.



Home / PHP / Manual / ...



PHP Manual
Prev Next

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

See also: socket_accept(), socket_bind(), socket_connect(), socket_listen(), socket_strerror(), and the Socket extension.


Prev Manual Home Next
pfsockopen Up socket_set_blocking
Site Menu

Amazon.ca
Amazon.com
Amazon.co.uk



Most recently updated on 11 May, 2003

Home / PHP / Manual / ...



Please feel free to contact us with any comments or suggestions
PHP Manual
PHP Wysardry

This site is hosted by Spaceports