socket_clear_error
spatie/fork
Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Clears the error on the socket or the last error code
<?php socket_clear_error
(?
Socket $socket
=
null
):
void