diff --git a/src/WebSocket/Client.php b/src/WebSocket/Client.php index 9a2e455..0d6d215 100644 --- a/src/WebSocket/Client.php +++ b/src/WebSocket/Client.php @@ -88,6 +88,9 @@ public function listen(): void $this->handleClose(); break; } + if ($this->client->errCode === 110) { + continue; + } throw new \RuntimeException( "Failed to receive data: {$this->client->errCode} - {$this->client->errMsg}" );