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? YES NO!

See http://autobahn.ws/testsuite/reports/clients/index.html for browser compliance test results.

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

WebSocket
Demonstration | Source Code | Description
--- | --- | ---
| wsLIB.c wsLIB.h | 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 (http://autobahn.ws/testsuite) 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)
| wsb.c ws_bench.c | 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 http://wasd.vsm.com.au/wasd_root/src/dclinabox/ for detail and http://wasd.vsm.com.au/wasd/ 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.

"Raw"Socket
Demonstration | Source Code | Description
--- | --- | ---
| rawLIB.c rawLIB.h | 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!