TMS FNC WebSocket Client guides
TTMSFNCWebsocketClient connects to a WebSocket server and exchanges text and
binary messages with it. You point it at a host, port, and path, connect, and
react to incoming messages through events; Send and SendMasked push
messages to the server. These task-oriented chapters cover the connection
lifecycle, messaging, keeping a long-lived connection healthy, and securing it
with TLS.
New to the component? Start with Get started for the shortest working path, then return here for depth.
Chapters
| Chapter | Covers |
|---|---|
| Connecting | URL anatomy (HostName, Port, PathName), Active versus Connect, connect timeout, handshake events, closing versus aborting, and connection state. |
| Sending and receiving | Text and binary messages, masked sends, splitting messages into frames, frame-by-frame receiving, automatic and manual message checking, and the event thread. |
| Connection health | Automatic and manual pong replies, pinging the server, and detecting and recovering from a lost connection. |
| Secure connections | UseSSL, OpenSSL deployment, custom IO handlers for OpenSSL 3.x, and secure connections in browser applications. |