eSeGeCe — Enterprise Communication Components for Delphi & .NET
FEATURED · sgcWebSockets

Ship a production WebSocket server in Delphi, this afternoon

RFC 6455 compliant client and server, 10,000+ concurrent connections, TLS 1.3, IOCP on Windows and EPOLL on Linux. Delphi 7 to RAD Studio 13, .NET 2.0 to .NET 9, one API across every target.

  • RFC 6455 compliant
  • TLS 1.2 and 1.3
  • IOCP · EPOLL
  • Full source, royalty free
EchoServer.pas
// uses sgcWebSocket, sgcWebSocket_Classes; WSServer := TsgcWebSocketServer.Create(Self); WSServer.Port := 5000; WSServer.OnMessage := WSServerMessage; WSServer.Active := True; procedure TForm1.WSServerMessage( Connection: TsgcWSConnection; const Text: string); begin Connection.WriteData('echo: ' + Text); end;

One frame in, one broadcast out to every client on the channel.

10,000+ Concurrent connections IOCP thread pools on Windows, EPOLL on Linux, one server process.
< 1 ms Frame latency Zero-copy framing on localhost, with per-message deflate ready out of the box.
761+ Components Clients, servers, protocol handlers and API wrappers in one source tree.
30+ API integrations Crypto exchanges, cloud services, messaging platforms and AI providers.

sgcWebSockets Featured
WebSocket, HTTP/2, HTTP/3, MQTT, AMQP, STOMP, WAMP, SSE, WebRTC and AI, for Delphi, C++Builder, Lazarus and .NET.

Explore the library See pricing

Connect, subscribe, broadcast

The same pub/sub task written with the same component names in Delphi, C++Builder and C#. Learn the API once, reuse it on every target you ship to.

uses
  sgcWebSocket, sgcWebSocket_Classes,
  sgcWebSocket_Protocol_sgc_Client;

procedure TForm1.FormCreate(Sender: TObject);
begin
  FClient := TsgcWebSocketClient.Create(Self);
  FClient.Host := 'www.esegece.com';
  FClient.Port := 2053;
  FClient.TLS := True;
  FClient.OnConnect := ClientConnect;

  FProtocol := TsgcWSPClient_sgc.Create(Self);
  FProtocol.Client := FClient;
  FProtocol.OnMessage := ProtocolMessage;

  FClient.Active := True;
end;

procedure TForm1.ClientConnect(Connection: TsgcWSConnection);
begin
  FProtocol.Subscribe('orders');
  FProtocol.Broadcast('{"id":42,"status":"filled"}', 'orders');
end;

procedure TForm1.ProtocolMessage(Connection: TsgcWSConnection;
  const Text: string);
begin
  Memo1.Lines.Add(Text);
end;
// uses: sgcWebSocket, sgcWebSocket_Classes,
//       sgcWebSocket_Protocol_sgc_Client

FClient = new TsgcWebSocketClient(this);
FClient->Host = "www.esegece.com";
FClient->Port = 2053;
FClient->TLS  = true;
FClient->OnConnect = ClientConnect;

FProtocol = new TsgcWSPClient_sgc(this);
FProtocol->Client = FClient;
FProtocol->OnMessage = ProtocolMessage;

FClient->Active = true;

void __fastcall TForm1::ClientConnect(TsgcWSConnection *Connection)
{
  FProtocol->Subscribe("orders");
  FProtocol->Broadcast("{\"id\":42,\"status\":\"filled\"}", "orders");
}

void __fastcall TForm1::ProtocolMessage(TsgcWSConnection *Connection,
    const UnicodeString Text)
{
  Memo1->Lines->Add(Text);
}
using esegece.sgcWebSockets;

var client = new TsgcWebSocketClient();
client.Host = "www.esegece.com";
client.Port = 2053;
client.TLS  = true;

var protocol = new TsgcWSPClient_sgc();
protocol.Client = client;
protocol.OnMessage += (conn, text) => Console.WriteLine(text);

client.OnConnect += (conn) =>
{
    protocol.Subscribe("orders");
    protocol.Broadcast("{\"id\":42,\"status\":\"filled\"}", "orders");
};

client.Active = true;

The server side is the mirror image. TsgcWebSocketServer.Broadcast(Text, 'orders') fans the same payload to every subscriber of the channel.

Every wire protocol your stack already speaks

Native client and server implementations, not thin wrappers over a browser engine. Mix protocols inside a single application and share one connection pool.

WebSocket · RFC 6455 HTTP/2 HTTP/3 · QUIC MQTT 3.1.1 & 5.0 AMQP 0.9.1 & 1.0 STOMP WAMP v2 SSE WebRTC CoAP

Ecosystems it plugs into

Ready-made clients and adapters for the brokers, hubs and services your infrastructure team already runs.

Socket.IO v4 SignalR Core Pusher Channels RabbitMQ HiveMQ Mosquitto EMQX AWS IoT Core Azure IoT Hub ActiveMQ IBM MQ

Full protocol reference: sgcWebSockets protocols.

Why it holds up under load

Long-lived connections, encrypted by default, self-healing under churn. The parts that decide whether your server survives Monday morning.

Multithreaded IOCP and EPOLL server

The server accepts connections on I/O completion ports under Windows and on epoll under Linux, dispatching work across a thread pool instead of one thread per socket. That is what keeps 10,000+ live connections on a single process from collapsing into context switching.

Scaling components →

TLS 1.2 and 1.3, OpenSSL 3 or SChannel

Pick the TLS backend that fits deployment. OpenSSL 3 gives you the same behaviour on Windows, Linux, macOS, iOS and Android. Native SChannel uses the Windows certificate store, so there are no OpenSSL DLLs to ship or patch.

TLS and certificates →

WatchDog auto-reconnect and HeartBeat

HeartBeat sends periodic ping frames so dead peers are detected instead of lingering. WatchDog reconnects a dropped client automatically with configurable intervals and attempts, so a network blip does not become an application restart.

Client component →

Per-message compression, RFC 7692

Turn on the permessage-deflate extension and repetitive JSON payloads shrink on the wire, negotiated during the handshake with any compliant peer. Binary frames, fragmentation and Unicode validation are all handled by the framing layer.

Feature overview →

From trading desks to AI agents

Every one of these ships on top of the same client and server components you install in your IDE today.

Real-time chat at scale

Persistent connections, presence, named channels and binary messaging, with a multithreaded server built for thousands of concurrent users.

Real-time communication →

Algorithmic trading

Ready-made streaming clients for 14 crypto exchanges, with TLS, binary frames and automatic reconnection on the market-data feed.

Exchange APIs →

IoT telemetry

MQTT 3.1.1 and 5.0 with QoS 0/1/2, shared subscriptions and CoAP, plus turnkey clients for AWS IoT Core and Azure IoT Hub.

IoT components →

WebRTC video

Peer-to-peer media and data channels with built-in STUN, TURN and ICE, and a signalling server you host yourself.

WebRTC and P2P →

AI agents (MCP)

Expose your own tools, prompts and resources to ChatGPT and Claude through the Model Context Protocol, client and server both included.

MCP components →

HTTP/2 and HTTP/3 services

Serve HTTPS, WebSocket and HTTP/2 from the same port, with multiplexing, header compression and server push, and HTTP/3 over QUIC.

HTTP components →

Six libraries, one subscription

sgcWebSockets is the flagship. The rest of the suite covers the UI, the SDKs, the signatures and the sockets underneath.

sgcWebSockets

WebSocket, HTTP/2, HTTP/3, MQTT, AMQP, WebRTC, AI and 30+ API integrations for Delphi, C++Builder, Lazarus and .NET.

Learn more →

sgcHTML

Build full-stack web interfaces in Delphi and .NET. Server-side HTML components, real-time WebSocket updates and htmx interactivity.

Learn more →

sgcOpenAPI

OpenAPI 3.x parser, Pascal SDK generator and OpenAPI server, plus 1,195+ pre-built SDKs for AWS, Azure, Google Cloud and Microsoft Graph.

Learn more →

sgcSign

Document signatures (XAdES, PAdES, CAdES, ASiC) and code signing (Authenticode, ClickOnce, NuGet, VSIX), with 10 key providers and 21 EU country profiles.

Learn more →

sgcBiometrics

Windows Hello, fingerprint sensors and facial recognition for Delphi and C++Builder, built on the Windows Biometric Framework.

Learn more →

sgcIndy

An enhanced Indy TCP/IP suite with modern TLS, IPv6 and extended protocol support for Delphi 7 through RAD Studio 13.

Learn more →

What developers say

Trusted by Delphi, C++ Builder, Lazarus and .NET developers building real-time applications around the world.

sgcWebSockets is amazing and your support is the best!
Christian Meyer Founder & CTO
Your sgcWebSockets library is very useful and easy to setup. Keep up the good work!
Simone Moretti Delphi Developer
Thanks so much for your help and support — I love your components.
Mark Steinfeld CTO

You are seeing the Real-Time view of eSeGeCe.

Show me another angle →
30-Day Money-Back GuaranteeNot satisfied? Request a full refund within 30 days of purchase. See refund policy

Real-time, in your app, today

Download the free trial and run a WebSocket server on your own machine in minutes. Full source, royalty-free deployment, Delphi 7 to RAD Studio 13 and .NET 2.0 to .NET 9.