socket_last_error

(PHP 4 >= 4.1.0)

socket_last_error -- Returns/Clears the last error on the socket

Description

int socket_last_error ( resource socket)

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

Warning

This function is currently not documented; only the argument list is available.