EventUtil::getLastSocketErrno
(PECL event >= 1.2.6-beta)
EventUtil::getLastSocketErrno — Returns the most recent socket error number
說明
Returns the most recent socket error number(
errno
).
參數
-
socket
-
Socket resource, stream or a file descriptor of a socket.
返回值
Returns the most recent socket error number(
errno
).
參見
- EventUtil::getLastSocketError() - Returns the most recent socket error