diff --git a/samples/Websocket_Client/README.rst b/samples/Websocket_Client/README.rst index 141fe2fa58..6280e8c95c 100644 --- a/samples/Websocket_Client/README.rst +++ b/samples/Websocket_Client/README.rst @@ -3,8 +3,13 @@ Websocket Client This is a simple demo of the WebsocketClient class. -The client tries to connect to *echo.websocket.org*. +The client tries to connect to a websocket echo server. It sents 10 messages then client connection is closed. It reconnects and sends 25 messages and continues doing same. This demo shows connection, closing and reconnection methods of WebsocketClient. + +The sample was originally written to communicate with *echo.websocket.org* +but that service no longer exists. +Instead, run ``make wsserver`` to run a local test server. +This has the advantage of showing detailed diagnostic information which may be helpful.