ListenFailed
Less than 1 minute
ListenFailed
Exception thrown when a socket listen operation fails.
class ListenFailed extends \Hazaar\ExceptionExtends: Hazaar\Exception
This exception is triggered when the socket_listen() function fails to listen for connections on a socket. It provides the reason for the failure using the socket_strerror() function.
Methods
__construct
Constructs a new ListenFailed exception.
public __construct(\Socket $socket): voidParameters
| Parameter | Type | Description |
|---|---|---|
$socket | Socket | the socket resource that failed to listen |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000