BindFailed
Less than 1 minute
BindFailed
Exception thrown when a socket bind operation fails.
class BindFailed extends \Hazaar\Socket\Exception\ExceptionThis exception is triggered when the socket_bind() function fails to bind a socket to a specific address and port. It provides the reason for the failure using the socket_strerror() function.
Methods
__construct
Constructs a new BindFailed exception.
public __construct(\Socket $socket): voidParameters
| Parameter | Type | Description |
|---|---|---|
$socket | \Socket | the socket resource that failed to bind |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:23 +0000