sgcWebSockets Ship a production WebSocket server, this afternoon.

RFC 6455 compliant client and server, 10,000+ concurrent connections, TLS 1.3, IOCP on Windows and EPOLL on Linux. WebSocket, HTTP/2, MQTT, AMQP, STOMP, WAMP, SSE, WebRTC and AI for Delphi 7 to RAD Studio 13, C++Builder, Lazarus and .NET 2.0 to .NET 10, with one API across every target.

Standard, Professional and Enterprise editions →
  • RFC 6455 compliant
  • TLS 1.2 and 1.3
  • IOCP · EPOLL
  • Delphi · C++Builder · Lazarus
  • .NET
  • Full source, royalty free
  • 10,000+Concurrent connections in one server process
  • < 1 msFrame latency on localhost
  • 761+Components in one source tree
  • 30+API integrations
  • 14Crypto exchanges with streaming clients
Watch it work

See sgcWebSockets in two minutes.

Narrated and captioned tours of the library and of the packages built from it. Pick one from the list. Nothing downloads until you press play.

Protocol wall

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, with ready-made clients for the brokers, hubs and services your infrastructure team already runs.

Real-time transports

View →
  • WebSocket · RFC 6455
  • HTTP/2
  • HTTP/3 · QUIC
  • SSE
  • WebRTC

Messaging protocols

View →
  • MQTT 3.1.1 & 5.0
  • AMQP 0.9.1 & 1.0
  • STOMP
  • WAMP v2

Hubs and brokers

View →
  • Socket.IO v4
  • SignalR Core
  • Pusher Channels
  • RabbitMQ
  • HiveMQ
  • Mosquitto
  • EMQX
  • ActiveMQ
  • IBM MQ

Cloud and IoT

View →
  • AWS IoT Core
  • Azure IoT Hub
  • QoS 0/1/2
  • Shared subscriptions

Full protocol reference

One API, three languages

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;
  1. Start a server in four linesA TsgcWebSocketServer with a port, an OnMessage handler and Active := True is a running echo server. Connection.WriteData answers the client that spoke.
  2. Connect and subscribeA TsgcWebSocketClient with TLS on, plus the sgc protocol component, subscribes to a named channel the moment it connects.
  3. Broadcast to the channelThe server side is the mirror image. TsgcWebSocketServer.Broadcast(Text, 'orders') fans the same payload to every subscriber of the channel.
One frame in, one broadcast out to every client on the channel.

Read the Getting Started guide

What you can build

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 and shared subscriptions, 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 →
Production

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 server process.

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.

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 outage.

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 for you.

Feature overview →
Editions and packages

Standard, Professional and Enterprise.

Each edition includes everything in the one before it, with full Delphi and C++ Builder source code and one year of updates. The All-Access bundle covers the whole eSeGeCe suite.

Standard

All client components: WebSocket clients, MQTT, AMQP, STOMP and WAMP clients, 20+ exchange and messaging API clients, AWS IoT and Azure IoT clients, OAuth2 and JWT clients.

€380 / developer

Professional

Standard plus every server: WebSocket and WebSocket + HTTP servers, Firewall, LoadBalancer and Proxy servers, WebRTC server, Dataset, Files and Presence servers, DataSnap WebBrokerBridge.

€529 / developer

Enterprise

Professional plus the native HTTP/2 client, HTTP.SYS, IOCP and EPOLL high-performance servers, all AI components with MCP, OAuth2, JWT and WebAuthn servers, TURN, ICE and RTCPeerConnection, TLS 1.3, ALPN and DTLS.

€699 / developer

For .NET there are Community, Professional and Enterprise editions, from .NET Framework 2.0 to .NET 10.

Compare editions and prices
Testimonials

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

Real-time, in your app, today.

Download the 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 10.

Latest from the blog

View all posts →

You are seeing the sgcWebSockets 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