|
socket_last_errorReturns the last error on the socket Description
int socket_last_error(Socketnull
$socket = null )
If a Socket instance is passed to this function, the last error which
occurred on this particular socket is returned. If
If no error had occurred, or the error had been cleared with
socket_clear_error, the function returns Parameters
Return ValuesThis function returns a socket error code. Changelog
Examples
Example #1 socket_last_error example
Notes
|