Peer to peer technical documents

The NAT traversal stack: STUN, TURN and ICE as client and server, the UDP transports underneath them, and the Delphi side of RTCPeerConnection. Eight documents in this section, each one available as a web page and as an A4 PDF.

Eight documents

Read links open the web version. PDF links open the same content laid out for A4, with a cover page and fixed page breaks.

ICE ClientTsgcICEClient — RFC 8445 Interactive Connectivity Establishment client; combines STUN and TURN to pick the best peer-to-peer path.
RTCPeerConnectionTsgcRTCPeerConnection — Delphi-side RTCPeerConnection implementation paired with the W3C WebRTC API for browser interop.
STUN ClientTsgcSTUNClient — RFC 8489 Session Traversal Utilities for NAT client; binding requests for peer-public-address discovery.
STUN ServerTsgcSTUNServer — RFC 8489 STUN server for sgcWebSockets; lets behind-NAT peers discover their public reflexive address.
TURN ClientTsgcTURNClient — RFC 8656 Traversal Using Relays around NAT client; allocates a relayed address and relays traffic when direct paths fail.
TURN ServerTsgcTURNServer — RFC 8656 TURN relay server for sgcWebSockets; relays peer-to-peer traffic when ICE cannot establish a direct path.
UDP ClientTsgcUDPClient — low-level UDP datagram client for sgcWebSockets P2P stack; foundation for STUN, TURN and ICE.
UDP ServerTsgcUDPServer — low-level UDP datagram server for sgcWebSockets P2P stack; foundation for STUN, TURN and ICE.

The rest of the reference set

Eighty-six documents in all. The full index lists every one of them on a single page.

AI and LLM

8 documents

Components that talk to language models and vector stores: the provider clients, the chatbot and translator front ends, embeddings, and both sides of the Model Context Protocol.

Browse AI and LLM

API integrations

26 documents

Ready-made clients for third-party services. Mostly WebSocket market data and trading feeds, plus the messaging platforms and the two SignalR dialects.

Browse API integrations

Core components

12 documents

The WebSocket client and server themselves, in Delphi and in .NET, together with the resilience components that guard them and the scaling components that put several servers behind one address.

Browse Core components

DataSnap and WebBroker

3 documents

Bridges that host an existing WebBroker or DataSnap application on an sgcWebSockets server, so one executable answers REST, WebSocket and HTTP/2 on the same port.

Browse DataSnap and WebBroker

HTTP, HTTP/2 and authentication

14 documents

The HTTP/2 client and server, gRPC, the OAuth2 and JWT components on both sides, WebAuthn, and the push and queue services reached over plain HTTP.

Browse HTTP, HTTP/2 and authentication

IoT brokers

2 documents

MQTT clients preconfigured for the two managed IoT brokers, with the authentication each one insists on already wired up.

Browse IoT brokers

Messaging protocols

12 documents

WebSocket subprotocols and message brokers: MQTT, both AMQP versions, STOMP against two brokers, WAMP, WebRTC signalling, and the five custom sgc subprotocols.

Browse Messaging protocols

Server APIs

1 document

Server-side components that answer a browser or platform specification rather than call somebody else’s service.

Browse Server APIs

Best value: All-AccessEvery eSeGeCe product, Premium Support included, from €1,059/year.
See All-Access pricing

Try sgcWebSockets

Every component in this section ships in the same package, with the demo projects each document names. Download the free Trial edition and run them.