public function hasData($sec = 0, $usec = 0) {
		$sec = (int)$sec;
		$usec = (int)$usec;
		if ($sec < 0) {
			$sec = 0;
		}
		if ($usec < 0) {
			$usec = 0;
		}

		$read = array($this->socket);
		$write = array();
		$except = array();
		$sockets = socket_select($read, $write, $except, $sec, $usec);

		if ($sockets === FALSE) {
			return FALSE;
		}
		return $sockets > 0;
	}