socket_shutdown
spatie/fork
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Shuts down a socket for receiving, sending, or both
<?php socket_shutdown
(
Socket $socket
,
int $mode
=
2
):
bool