sgcWebSockets
The most comprehensive WebSocket and real-time communication library for Delphi, C++ Builder, Lazarus, and .NET. Full RFC 6455 compliance, 30+ API integrations, and enterprise-grade performance.
The most comprehensive WebSocket and real-time communication library for Delphi, C++ Builder, Lazarus, and .NET. Full RFC 6455 compliance, 30+ API integrations, and enterprise-grade performance.
From WebSocket fundamentals to advanced AI integrations, sgcWebSockets delivers a complete toolkit for modern network applications.
Full RFC 6455 implementation with binary and Unicode message support, PerMessage_Deflate compression, and automatic reconnection.
Modern HTTP protocol with multiplexing, server push, and header compression for high-performance connections.
Native integrations with OpenAI, Anthropic, MCP protocol, ChatBot components, Embeddings, and vector database support.
Full support for MQTT, AMQP, STOMP, WAMP, and Server-Sent Events with built-in message routing and topic management.
Peer-to-peer communication with STUN, TURN, and ICE protocols, data channels, and NAT traversal for direct client connections.
Ready-to-use connectors for crypto exchanges, messaging platforms, cloud services, and financial data feeds.
Built from the ground up for security, scalability, and reliability in mission-critical applications.
Protect every connection with industry-standard security protocols and flexible authentication mechanisms.
Handle thousands of concurrent connections with high-performance I/O and robust delivery guarantees.
Develop on your preferred IDE and deploy to every major platform and framework version.
Delphi 7 through RAD Studio 13. Full VCL and FireMonkey framework support with design-time components.
C++ Builder 10.1 Berlin through C++ Builder 13. Native C++ wrapper headers for seamless integration.
Lazarus 4.4.0 Win64 with Free Pascal compiler support for open-source Pascal development.
.NET Framework 2.0+, .NET Core 1.0+, .NET Standard 1.6+, and .NET 5 through .NET 9.
Windows 32/64-bit, macOS (Intel & ARM), Linux 64-bit, iOS, and Android.
Pre-built packages for every supported IDE version. Drop components onto forms and start building immediately.
Get connected in minutes with a clean, event-driven API that feels natural in both Delphi and .NET.
procedure TForm1.FormCreate(Sender: TObject); begin sgcWebSocketClient1.Host := 'www.esegece.com'; sgcWebSocketClient1.Port := 2053; sgcWebSocketClient1.TLS := True; sgcWebSocketClient1.Active := True; end; procedure TForm1.sgcWebSocketClient1Connect(Connection: TsgcWSConnection); begin Connection.WriteData('Hello sgcWebSockets!'); end; procedure TForm1.sgcWebSocketClient1Message(Connection: TsgcWSConnection; const Text: string); begin Memo1.Lines.Add('Received: ' + Text); end;
procedure TForm1.FormCreate(Sender: TObject); begin sgcWebSocketHTTPServer1.Port := 8080; sgcWebSocketHTTPServer1.SSL := True; sgcWebSocketHTTPServer1.SSLOptions.CertFile := 'server.pem'; sgcWebSocketHTTPServer1.SSLOptions.KeyFile := 'server.key'; sgcWebSocketHTTPServer1.Active := True; end; procedure TForm1.sgcWebSocketHTTPServer1Message(Connection: TsgcWSConnection; const Text: string); begin // Echo message back to client Connection.WriteData(Text); end; procedure TForm1.sgcWebSocketHTTPServer1Connect(Connection: TsgcWSConnection); begin Log('Client connected: ' + Connection.Guid); end;
using esegece.sgcWebSockets; var client = new TsgcWebSocketClient(); client.Host = "www.esegece.com"; client.Port = 2053; client.TLS = true; client.OnConnect += (sender, connection) => { connection.WriteData("Hello from .NET!"); }; client.OnMessage += (sender, connection, text) => { Console.WriteLine($"Received: {text}"); }; client.Active = true;
Pair sgcWebSockets with our other Delphi, C++Builder and .NET component libraries.
OpenAPI 3.0 parser and SDK generator. Turn any OpenAPI spec into a strongly-typed Delphi client in seconds.
Generate REST clients to combine with your WebSocket and MQTT streams — one toolchain for both real-time and request/response APIs.
Learn more →Digital signature components for PDF, XAdES, CAdES, and PAdES. Sign and verify documents with smart cards, HSMs, or software keys.
Sign WebSocket and MQTT payloads end-to-end with PAdES or XAdES for tamper-evident real-time messaging.
Learn more →Native Windows Hello, fingerprint, and Windows Biometric Framework components for Delphi and C++Builder.
Add biometric authentication to your real-time clients without rolling your own WBF wrapper.
Learn more →Updated Indy TCP/IP components with modern TLS, IPv6, and HTTP/2 support for Delphi 7 through 13.
Use updated Indy components alongside sgcWebSockets servers when you need a refreshed Indy stack.
Learn more →