array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'eventutil.getlastsocketerror.php', 1 => 'EventUtil::getLastSocketError', 2 => 'Returns the most recent socket error', ), 'up' => array ( 0 => 'class.eventutil.php', 1 => 'EventUtil', ), 'prev' => array ( 0 => 'eventutil.getlastsocketerrno.php', 1 => 'EventUtil::getLastSocketErrno', ), 'next' => array ( 0 => 'eventutil.getsocketfd.php', 1 => 'EventUtil::getSocketFd', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventutil/getlastsocketerror.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventUtil::getLastSocketError

(PECL event >= 1.2.6-beta)

EventUtil::getLastSocketErrorReturns the most recent socket error

Açıklama

public static EventUtil::getLastSocketError( mixed $socket = ?): string

Returns the most recent socket error.

Bağımsız Değişkenler

socket

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

Dönen Değerler

Returns the most recent socket error.

Ayrıca Bakınız