EventUtil::getSocketName
(PECL event >= 1.5.0)
EventUtil::getSocketName — Retreives the current address to which the socket is bound.
Описание
Retreives the current address to which the
socket
is bound.
Список параметров
-
socket
-
Socket resource, stream or a file descriptor of a socket.
-
address
-
Output parameter. IP-address, or the UNIX domain socket path depending on the socket address family.
-
port
-
Output parameter. The port the socket is bound to. Has no meaning for UNIX domain sockets.
Возвращаемые значения
Returns TRUE
on success. Otherwise FALSE
.
- Функция EventUtil::__construct() - The abstract constructor
- Функция EventUtil::getLastSocketErrno() - Returns the most recent socket error number
- Функция EventUtil::getLastSocketError() - Returns the most recent socket error
- Функция EventUtil::getSocketFd() - Returns numeric file descriptor of a socket, or stream
- EventUtil::getSocketName
- Функция EventUtil::setSocketOption() - Sets socket options
- Функция EventUtil::sslRandPoll() - Generates entropy by means of OpenSSL's RAND_poll()
Коментарии
404 Not Found