EventUtil
PHP Manual

EventUtil::getLastSocketError

(PECL event >= 1.2.6-beta)

EventUtil::getLastSocketErrorReturns the most recent socket error

Descrierea

public static string EventUtil::getLastSocketError ([ mixed $socket ] )

Returns the most recent socket error.

Parametri

socket

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

Valorile întoarse

Returns the most recent socket error.

Vedeți de asemenea


EventUtil
PHP Manual