EventUtil::getLastSocketError
PHP function
Edit on GitHub ✎
(PECL event >= 1.2.6-beta)
Returns the most recent socket error
Description
EventUtil::getLastSocketError([mixed $socket]): string
Returns the most recent socket error.
Parameters
socketSocket resource, stream or a file descriptor of a socket.
Return Values
Returns the most recent socket error.
See Also
EventUtil::getLastSocketErrno