PHP 8.4.0 RC4 available for testing

EventUtil::getLastSocketErrno

(PECL event >= 1.2.6-beta)

EventUtil::getLastSocketErrnoReturns the most recent socket error number

Descripción

public static EventUtil::getLastSocketErrno( mixed $socket = null ): int

Returns the most recent socket error number( errno ).

Parámetros

socket

Socket resource, stream or a file descriptor of a socket.

Valores devueltos

Returns the most recent socket error number( errno ).

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top