socket_last_error

PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
socket_last_error - Returns the last error on the socket
Manual
Code Examples

Example #1 socket_last_error example

PHP Version: