<?php

// socket_set_option($this->client->getSocket(), SOL_SOCKET, SO_RCVTIMEO, [1, 0]);

//$f = fopen("php://fd/" . $this->client->sock, "r+");
//assert(is_resource($f));
//assert(stream_set_timeout($f, 1, 0));
//$data = stream_get_contents($f);