<?php fread(resource $stream, int $length): string|false
<?php $client = stream_socket_client('udp://8.8.8.8:53'); fwrite($client, $request); $response = fread($client, 65536); stream_socket_sendto($socket, $response, 0, $peer); ++$received;