diff --git a/testwebsock.php b/testwebsock.php index ee0db75..e98bf09 100644 --- a/testwebsock.php +++ b/testwebsock.php @@ -5,7 +5,7 @@ class echoServer extends WebSocketServer { - function __construct($addr, $port, $bufferLength) { + function __construct($addr, $port, $bufferLength = 2048) { parent::__construct($addr, $port, $bufferLength); $this->userClass = 'MyUser'; }