sgcWebSockets
sgcWebSockets
Rad Studio

Share your code using our WebSockets library for your Delphi VCL, Firemonkey, CBuilder and Javascript projects. Includes Server, Clients and several protocols for building and connecting to WebSocket applications.

WebSocket and HTTP Support
Cross-platform
Protocols and APIs
SSL/TLS for Security
Best Communication Library
IOCP and EPOLL Servers
WebAuthn & PassKeys Support
WebSocket and HTTP Support

sgcWebSockets includes client and server-side implementations of the WebSocket protocol (RFC 6455). HTTP/s is also full supported.

Protocols and APIs

Several protocols are supported: MQTT, STOMP, WEBRTC, WAMP... Built-in protocols support Transactions, Datasets, QoS, big file transfers and more. APIs supported for third-parties like Pusher, Bitfinex...

Cross-platform

Share your code using our WebSockets library for your Delphi VCL, Firemonkey, Intraweb, Javascript and C# projects. Includes Server, Clients and serveral protocols for building and connecting to WebSocket applications.

sgcOpenAPI
Pascal OpenAPI Client Generator
previous arrow
next arrow
Slide 1
Image is not available
Build Applications

Share your code using our WebSockets library for your Delphi, CBuilder, Firemonkey, Javascript and .NET projects. Includes Server, Clients and several protocols for building and connecting to WebSocket applications.

Image is not available
Standard Protocols

Standard Protocol for bi-directional communications between servers and clients over WebSockets. Supports Secure Connections using OpenSSL libraries.

Image is not available
Expand your Possibilities

Easy to use, you can expand your Applications using Built-in protocols for RPC, File transfers, Socket.io Servers, WAMP protocol and more.

WebAuthn
WebAuthn & PassKeys

sgcWebSockets supports the WebAuthn Protocol providing a full-featured WebAuthn Server Component:
- Fido Conformance Test 100% validated.
- Supports ALL algorithms.
- Powerful solution to implement the WebAuthn Relying Party server
- Enable passwordless authentication in your web application.

Feel free to Try the WebAuthn Protocol with the sgcWebSockets VCL Library

Image is not available
previous arrow
next arrow
Block
eSeGeCe Software
The Best
Amazing
Modern
Enterprise
Components
for Developers
Features

Easy to use, you can expand your Applications using Built-in protocols for RPC, File transfers, Socket.io Servers, WAMP protocol and more.

Download Trial

Full Enterprise Single Trial version, works for a time limited period and can only be installed in a single WorkStation

Online Demo

Test our Online Demos which show the main features of our products.

WebSocket compression is essential for reducing bandwidth and improving responsiveness, especially when transmitting repetitive data like JSON payloads. The permessage-deflate extension compresses every WebSocket frame on the fly — but the speed of that compression directly impacts your application's throughput. Starting with sgcWebSockets 2026.4.0, the permessage-deflate implementation has been completely rewritten for significantly faster performance. In our benchmarks, small messages co...
OAuth 2.0 access tokens are the keys to your API kingdom — and if someone steals one, they can use it from anywhere. DPoP (Demonstrating Proof of Possession), defined in RFC 9449, solves this by cryptographically binding tokens to the client that requested them. Even if a token is intercepted, it becomes useless without the client's private key. Starting with sgcWebSockets 2026.4.0, the OAuth2 client and server components include full DPoP support. This article explains what DPoP is, how i...
Remote server administration, automated deployments, configuration management, and infrastructure monitoring — all of these rely on secure shell access. Whether you need to execute a single command on a remote host, open an interactive terminal session, or set up a port-forwarding tunnel, SSH is the protocol that makes it possible. The sgcIndy package includes TIdSSHClient — a native Delphi SSH client component that implements the SSH-2 protocol with full support for command executio...

AWS IoT MQTT Custom Authentication

From sgcWebSockets 4.4.3, Amazon AWS IoT MQTT component supports custom authentication, so from this version all MQTT protocols are supported. MQTT over WebSocketsMQTT over TCPX.509 certificate authenticationSignature V4 authenticationCustom Authentication Protocols Supported   The following table lists the protocols that the AWS IoT devi...

Continue reading
  2355 Hits

AWS IoT MQTT Signature V4

From sgcWebSockets 4.4.3, the Amazon AWS IoT client supports Signature V4 Authentication, this means that you don't need to use a certificate to authenticate against AWS MQTT Server. Signature V4 can be used for MQTT over WebSockets and port 443. Configuration First you must create a new user in your AWS console and assign privileges for IoT device...

Continue reading
  2373 Hits

Bittrex API V3 Support

From sgcWebSockets 4.4.3, Bittrex API component supports latest WebSocket API V3. Prior API, end of life is planned for 09/30/2020. The API still is based on SignalR but there are several changes, so all old methods have been removed and new methods and events have been added. Private Methods There are some new private methods like Subscription to ...

Continue reading
  2233 Hits

HTTP2 Tests from HTTPBIN.ORG

httpbin.org provides a useful server to test HTTP/2 protocol, there are several cases which can be used to test HTTP clients. You can find below a list of main tests provided: HTTP Methods: Testing different HTTP verbsAuth: Auth methodsStatus Codes: Generates responses with given status codeRequest inspection: Inspect the request dat...

Continue reading
  2888 Hits

HTTP2 Latency

In a previous post, I show a comparison between HTTP2 and HTTP1 performance using a single connection (see HTTP2 vs HTTP1 performance). In this post I will show a comparative between HTTP2 and HTTP1 introducing a latency and showing how latency can affect to HTTP protocol requests. When a client do a request, there is a latency, more or less depend...

Continue reading
  2158 Hits

HTTP2 Client Tests

RFC 7540 and RFC 7541 contains the full specification of HTTP/2 protocol and in the process of implementing a new HTTP/2 client for sgcWebSockets library, is important to use external tools to check if client component is working as expected. One of this online tools is hosted in: https://http2.golang.org/ This web offers some tests for HTTP/2 clie...

Continue reading
  2551 Hits

HTTP2 vs HTTP1 Performance

sgcWebSockets supports a wide range of protocols, HTTP/2 is the protocol which is in development right now.  HTTP 1.1 has been the most used HTTP Protocol and wide implemented in server and clients during the last 15 years. But as internet grows, applications and webs growed and the amount of loaded data increased, the shor...

Continue reading
  2586 Hits

iOS Telegram Client

From sgcWebSockets 4.4.2 Telegram is supported for iOS64 devices, which means that you can build your own telegram client. TDLib takes care of all network implementation details, encryption and local data storage. TDLib supports all Telegram features. TDLib (Telegram Database Library) Advantages Cross-platform: can be used on Windows, Android,...

Continue reading
  3003 Hits

WebSockets TMS Sparkle

A customer ask if TMS Sparkle and sgcWebSockets can run together, and the answer is yes, there is no problem running sgcWebSockets and TMS Sparkle on the same server. Both can run using HTTP.SYS server, you can run a single HTTP.SYS server and configure endpoints to run with Sparkle and sgcWebSockets without problems. Basically you configure i...

Continue reading
  3384 Hits

Binance Futures API

From sgcWebSockets 4.2.2 Binance Futures API is fully supported. 1. Added support for live subscriptions in websocket api. 2. Added support for user stream websocket data. 3. Added support for Rest API:   3.1 Market Data Endpoints: exchange information, kline, tickers...   3.2 Account / Trades Endpoints: send orders, get account...

Continue reading
  2027 Hits

sgcWebSockets 4.4.1

Changes included in sgcWebSockets 4.4.1 [+] : Improved Telegram API Component, added support for Android. [+] : New property "DatabaseDirectory" in Telegram Client. Allows to set the directory where is the TDLib database. [+] : Improved Telegram Demo to ask user for a password if telegram component requires it. [+] : Improved speed reading websocke...

Continue reading
  1746 Hits

Android Telegram Client

From sgcWebSockets 4.4.1 Telegram is supported for Android devices, which means that you can build your own telegram client. TDLib takes care of all network implementation details, encryption and local data storage. TDLib supports all Telegram features. TDLib (Telegram Database Library) Advantages Cross-platform: can be used on Windows, Androi...

Continue reading
  3257 Hits

sgcWebSockets 4.4.0

 Changes included in sgcWebSockets 4.4.0 [+] : Added support for Rad Studio 10.4 Sydney. [+] : Improved Telegram API Component, added support for OSX64. [+] : Improved Telegram API Component, added support for Linux64. [+] : Improved Telegram API Component, use SetTDJsonPath to set the path of tdjson library. [+] : New Telegram Demo built with...

Continue reading
  1750 Hits

Rad Studio 10.4

I am happy to announce the immediate availability of support for Rad Studio 10.4 on sgcWebSockets library. Registered users can download latest beta from private account. Next release will include support from Delphi 7 to Rad Studio 10.4 versions. https://www.embarcadero.com/products/rad-studio/whats-new-in-10-4-sydney

  2599 Hits

RPC Progressive Results

WAMP 1.0 is an open WebSocket subprotocol that provides two asynchronous messaging patterns: RPC and PubSub. From sgcWebSockets 4.3.8, a new method is supported, not included in WAMP 1.0 specification, but it can be very useful for our users. WAMP allows RPC calls, but server response can only be successful or not. Sometimes, an RPC requires more t...

Continue reading
  2052 Hits

UpdateMode in DataSet Protocol

sgcWebSockets Dataset Subprotocol allows to broadcast database changes to all client connected. From sgcWebSockets 4.3.8 this protocol allows 2 update modes: 1. Replicate Table: protocol updates dataset clients when a dataset has changed. 2. Notify Updates: protocol notifies clients when a dataset has changed.  Replicate Table  This mode ...

Continue reading
  2719 Hits

Coturn for Windows

Coturn is a free open source implementation of TURN and STUN Servers. The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can be used as a general-purpose network traffic TURN server and gateway, too. The supported project target platforms are: LinuxMac OS XWindows (Cygwin): compiled binaries are available for register...

Continue reading
  15710 Hits

sgcWebSockets 4.3.7

Changes included in sgcWebSockets 4.3.7 [+] : New Component TsgcTDLib_Telegram, Allows to build Telegram Clients using TDLib JSON library. [+] : New Demo "Telegram" which shows how connect to telegram API, send a Text message, receive text messages, available chats... [+] : Improved Kraken API Component, now WebSocket API supports private channels....

Continue reading
  1891 Hits

TCP Half-Open Connections

Once the connection has been established, if no peer sends any data, then no packets are sent over the net. TCP is an idle protocol, so it assumes that the connection is active. Disconnection reasons Application closes: when a process is finished, usually sends a FIN packet which acknowledges the other peer that connection has been closed. But if a...

Continue reading
  3749 Hits

Telegram Client

Telegram offers two kinds of APIs, one is Bot API which allows to create programs that use Bots and HTTPs as protocol. Telegram API and TDLib allows to build customized Telegram clients and is much more powerful than Bot API. From sgcWebSockets 4.3.7 supports TDLib through tdjson library (for Windows 32 and Windows 64), which means that you can bui...

Continue reading
  8427 Hits