stream_socket_shutdown
symfony/var-dumper
Supported Versions: PHP 5 >= 5.2.1, PHP 7, PHP 8
Shutdown a full-duplex connection
stream_socket_shutdown
(
resource $stream
,
int $mode
):
bool
return
true
;
}
if (!
$socketIsFresh
) {
stream_socket_shutdown
(
$this
->
socket
,
\STREAM_SHUT_RDWR
);
fclose
(
$this
->
socket
);
$this
->
socket
=
$this
->
createSocket
();
}
Server/Connection.php