<?php stream_socket_shutdown(resource $stream, int $mode): bool
<?php return true; } if (!$socketIsFresh) { stream_socket_shutdown($this->socket, \STREAM_SHUT_RDWR); fclose($this->socket); $this->socket = $this->createSocket(); }