socket_strerror

PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
socket_strerror - Return a string describing a socket error
Manual
Code Examples

Example #1 socket_strerror example

Result: socket_bind() failed: reason: Permission denied
PHP Version: