EventListener::getSocketName
(PECL event >= 1.5.0)
EventListener::getSocketName — Retreives the current address to which the listener's socket is bound.
Description
Retreives the current address to which the listener's socket is bound.
Parameters
-
address
-
Output parameter. IP-address depending on the socket address family.
-
port
-
Output parameter. The port the socket is bound to.
Return Values
Returns TRUE
on success. Otherwise FALSE
.
- Функция EventListener::__construct() - Creates new connection listener associated with an event base
- Функция EventListener::disable() - Disables an event connect listener object
- Функция EventListener::enable() - Enables an event connect listener object
- Функция EventListener::getBase() - Returns event base associated with the event listener
- EventListener::getSocketName
- Функция EventListener::setCallback() - The setCallback purpose
- Функция EventListener::setErrorCallback() - Set event listener's error callback
Коментарии
404 Not Found