Index of  //

WebSocket directory read-me

The WebSocket library, development utilities and simple example applications (scripts) demonstrating the basics of WASD WebSocket programming and use of the library.

Does this browser support WebSocket?   NO! 

See for browser compliance test results.

More information may be found in Scripting  —  5 - WebSocket.

DemonstrationSource CodeDescription
The WebSocket library. This abstracts most of the WebSocket protocol into callable functions suitable for the WASD WebSocket scripting environment.
wsLIBcl.c The WebSocket client library. Provides functionality to TCP connect to a server host and port and undertake a WebSocket upgrade handshake. It is less intended to be a real-world client library than a vehicle for bench-testing the WASD WebSocket and WSLIB.C functionality.
autobahn.c Autobahn ( is a sophisticated, comprehensive and indepdendent test suite powered by Python that validates WebSocket behaviour, particularly in corner cases. This AUTOBAHN utility/script has been used during WASD WebSocket environment development and testing. WASD v10.3.0 WebSocket and wsLIB v1.0.7 passes all Autobahn v0.5.5 tests (see autobahn.pdf)
WASD WebSocket environment development test-bench exerciser and gremlin inducing client/script. It can also be used as an effective measure of the raw WebSocket message throughput a particular hardware+VMS+TCP/IP+WASD platform can support
[ws_chat.html] ws_chat.c What can be said about this classic, collaborative application?
[ws_echo.html] ws_echo.c What was that I just said? Uses VMS data descriptors.
[ws_mouse.html] ws_mouse.c Distributing your mouse coordinates.
[ws_ptd.html] ws_ptd.c The Pseudo-Terminal Driver example has been replaced with the fully-functional VT102 terminal emulator DCLinabox. See for detail and for download.

A WASD "Raw"Socket is a variant of, and is heavily based on, the WASD WebSocket infrastructure. It allows a service (listening host and port) to accept a connection and immediately activate a configured WASD CGIplus script (in much the same manner as a standard WebSocket script) to service that connection. Routine library and example applications.

More information may be found in Scripting  —  5.8 - RawSocket.

DemonstrationSource CodeDescription
The RawSocket library. This abstracts most of the required functionality for interacting with the CGIplus environment and performing asynchronous I/O into callable functions suitable for the WASD RawSocket scripting environment.
telnet client raw_chat.c This classic, collaborative application – again – this time using a WASD RawSocket.
telnet client raw_echo.c What was that I just said over a "raw" socket? Uses VMS data descriptors.
telnet client raw_ptd.c This Pseudo-Terminal Driver example behaves as a simple telnet server. Definitely not intended for production!


[DIR]OBJ_AXP/ 8-Nov-2021 14:281,024subdirectory
[TXT]AUTOBAHN.C 8-Nov-2021 14:2821,571C source
[PDF]AUTOBAHN.PDF 8-Nov-2021 14:28709,830Adobe Portable Document Format
[TXT]BUILD_ALL.COM 8-Nov-2021 14:28936DCL procedure
[TXT]BUILD_AUTOBAHN.COM 8-Nov-2021 14:281,694DCL procedure
[TXT]BUILD_RAWLIB.COM 8-Nov-2021 14:281,118DCL procedure
[TXT]BUILD_RAW_CHAT.COM 8-Nov-2021 14:281,218DCL procedure
[TXT]BUILD_RAW_ECHO.COM 8-Nov-2021 14:281,218DCL procedure
[TXT]BUILD_RAW_PTD.COM 8-Nov-2021 14:281,212DCL procedure
[TXT]BUILD_WSB.COM 8-Nov-2021 14:281,639DCL procedure
[TXT]BUILD_WSLIB.COM 8-Nov-2021 14:281,118DCL procedure
[TXT]BUILD_WSLIBCL.COM 8-Nov-2021 14:281,150DCL procedure
[TXT]BUILD_WS_BENCH.COM 8-Nov-2021 14:281,310DCL procedure
[TXT]BUILD_WS_CHAT.COM 8-Nov-2021 14:281,198DCL procedure
[TXT]BUILD_WS_ECHO.COM 8-Nov-2021 14:281,210DCL procedure
[TXT]BUILD_WS_MOUSE.COM 8-Nov-2021 14:281,310DCL procedure
[TXT]RAWLIB.C 8-Nov-2021 14:2876,719C source
[TXT]RAWLIB.H 8-Nov-2021 14:285,795C header
[TXT]RAW_CHAT.C 8-Nov-2021 14:2814,145C source
[TXT]RAW_ECHO.C 8-Nov-2021 14:2815,121C source
[TXT]RAW_PTD.C 8-Nov-2021 14:2819,262C source
[TXT]RAW_SOCKET.COM 8-Nov-2021 14:281,807DCL procedure
[HTM]README.HTML 8-Nov-2021 14:286,620"WebSocket directory read-me"
[TXT]WSB.C 8-Nov-2021 14:2847,103C source
[TXT]WSB.COM 8-Nov-2021 14:281,414DCL procedure
[TXT]WSLIB.C 8-Nov-2021 14:28158,651C source
[TXT]WSLIB.H 8-Nov-2021 14:2811,831C header
[TXT]WSLIBCL.C 8-Nov-2021 14:2821,903C source
[TXT]WS_BENCH.C 8-Nov-2021 14:289,687C source
[TXT]WS_CHAT.C 8-Nov-2021 14:2813,377C source
[HTM]WS_CHAT.HTML 8-Nov-2021 14:289,014"WebSocket Scripting - Chat Demonstration"
[TXT]WS_ECHO.C 8-Nov-2021 14:2812,862C source
[HTM]WS_ECHO.HTML 8-Nov-2021 14:287,168"WebSocket Scripting - Echo Demonstration"
[TXT]WS_MOUSE.C 8-Nov-2021 14:2810,150C source
[HTM]WS_MOUSE.HTML 8-Nov-2021 14:288,332"WebSocket Scripting - Mouse Demonstration"