Echo Test

Let us start with the Echo Test application. Go to the URL https://www.websocket.org/echo.html. Here you can see a readymade Echo server which we can hit and then receive a message. It just gives you a server; when you send a message to this server it will send the same message in return. Go ahead and play with your Echo application. After this, we will see how to write our own client code to hit this Echo server.

Echo Test

Get WebSocket Essentials – Building Apps with HTML5 WebSockets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.