socket_last_error
spatie/fork
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Returns the last error on the socket
<?php socket_last_error
(?
Socket $socket
=
null
):
int