Echo Server Example | Qt WebSockets 5.9

Qt 5.9 | Qt WebSockets | Qt WebSockets Examples | Echo Server Example

Qt 5.9.2 Reference Documentation

# Echo Server Example

The Echo Server Example shows how to create a simple server application that sends back the messages it receives, using the WebSocket API.

If your web browser supports WebSocket, you can also use it to open the echoclient.html file, and operate like the following screenshot.

Client example

Files:

- echoserver/echoclient.html
- echoserver/echoserver.cpp
- echoserver/echoserver.h
- echoserver/main.cpp
- echoserver/echoserver.pro

See also Echo Client Example.