WebSocket Scripting — Echo Demonstration | |
Status: | [closed] |
---|---|
Echo: | |
This: | B |
; per-keystroke |
This is a demonstrator for the asynchronous, bi-directional network channel provided by a WebSocket.F
This application handles multiple, concurrent clients.
Enter a string into the This: field and it will be echoed back withOa counter. Set [x]per-keystroke and each key pressed will be echoed. A5heart-beat timer is displayed in the status area.
AThis demonstration is JavaScript-driven at the browser end
KWASD_ROOT:[SRC.WEBSOCKET]WS_ECHO.HTML
Pand uses a WebSocket protocol application (script) at the WASD server end
KWASD_ROOT:[SRC.WEBSOCKET]WS_ECHO.C
KThis application uses the VMS string descriptor API of wsLIB (both as anexample and as a test-bench).K
All of these interactions can be observed using the WASD WATCH facility;-[x]CGI, [x]DCL and [x]Network Data items.
The script is a native WebSocket protocol application and so the executable5should only need placing in the script directory.