×

Message

You need to login before you can view or download document
×

Message

You need to login before you can view or download document

sgcWebSockets Rad Studio 13

Rad Studio 13 is fully supported by our Delphi and CBuilder components: sgcWebSocketssgcOpenAPIsgcIndysgcBiometrics Main features of RAD Studio 13 "Florence": Cross-platform development continues: Windows, macOS, Linux, iOS, and Android. Language improvements in Delphi: introduction of the ternary (conditional) operator, plus other compiler enhance...

Continue reading

sgcWebSockets 2025.8

Rad Studio [+] : Added Support for Rad Studio 13 Florence. [+] : The WebAuthn Server Component passed the full FIDO Conformance Test using the Conformance Self-Validation Testing tool. [+] : Improved Servers: Added a new Authorization protocol in the property Authentication.WebAuthn. [+] : Improved WebAuthn: new event "OnWebAuthnUnauthorized" which...

Continue reading

sgcWebSockets Authorizations

The sgcWebSockets library supports multiple authentication methods to secure WebSocket communication in Delphi and C++Builder applications. Since the WebSocket protocol itself doesn't define an authentication mechanism, sgcWebSockets implements its own set of techniques suitable for both server and client sides. Supported Authentication Types The l...

Continue reading

Server TCP Connections

When using the Indy WebSocket server for TCP Connections, by default the OnConnect event is only fired after the first message is received because there is no way to filter if the connection is plain TCP, websocket, HTTP... in cases where all connections are expected to be TCP, now you can handle the event OnTCPConnect and set the transport to trpT...

Continue reading

Authorization using PassKeys

WebAuthn (Web Authentication) is a W3C standard that enables secure, passwordless, and phishing-resistant authentication using public-key cryptography. It's widely used with passkeys to improve security and user experience. However, authenticating users with WebAuthn is just the first step — after successful authentication, you often need to author...

Continue reading

Building a WebSocket Server in C++Builder

TsgcWebSocketServer is part of the sgcWebSockets suite and provides a high-level component for creating WebSocket servers in C++Builder. This guide walks through creating a minimal server that automatically replies to incoming messages.  Create the VCL project Open C++Builder and create a new VCL Forms Application.Drop a TsgcWebSocketServer co...

Continue reading
Tags:

WebAuthn Advanced Usage Example

Below is a more comprehensive Delphi example that demonstrates custom endpoints, challenge policies, database-backed credential storage, FIDO Metadata validation, and cross-origin iframe support. The code highlights advanced event handling to enforce security policies.  sgcWebSockets WebAuthn Server Example procedure TForm1.ConfigureWebAuthn;b...

Continue reading

Deep Dive into sgcWebSockets WebAuthn Server

The TsgcWSAPIServer_WebAuthn component is a Delphi/FPC server module that implements the relying‑party side of the WebAuthn protocol over HTTPS. It integrates with TsgcWebSocketHTTPServer or TsgcWebSocketServer, and it exposes REST‑like endpoints for registration and authentication.  Endpoint Mechanics By default, the component registers ...

Continue reading

WebAuthn, Passkeys, and the End of Passwords

WebAuthn is the authentication layer of the FIDO2 standard. Instead of depending on user‑remembered secrets, it employs asymmetric cryptography. During registration, a user's authenticator (hardware key, secure enclave, TPM, etc.) generates a private–public key pair scoped to the relying party domain. The browser sends the public key and attestatio...

Continue reading

Using WebSocket Client in .NET

TsgcWebSocketClient is the .NET wrapper around the sgcWebSockets runtime client. It inherits all core WebSocket capabilities from TsgcWebSocketClient_base, giving .NET applications a component-style API for connecting, sending, and receiving over WebSockets   Key Properties Host & Port – target server endpointOptions.Parameters – URL path ...

Continue reading
Tags:

sgcWebSockets 2025.7

Rad Studio [+] : Improved WebAuthn: added support for PS256, PS384 and PS512 algorithms. [+] : Improved WebAuthn: new property WebAuthnOptions.MDS to configure the Fido Metadata Service. [+] : Improved HTTP.SYS: added support for the WebAuthn protocol. [+] : Updated the OpenSSL libraries to the version 3.5.1 [+] : Improved STOMP Protocol: added a n...

Continue reading

sgcWebSockets 2025.6

Rad Studio [+] : Improved OpenAI Assistant: new event OnFunctionCall which allows to interface OpenAI models with your code, database, applications... [+] : Updated the OpenAI Assistant Demo with a new Assistant "Delphi Weather Bot" showing how it works. [+] : Improved Whatsapp API: updated api to v20. [+] : Improved Whatsapp API: new method SendMe...

Continue reading

OpenAI Function Calling

 Similar to the Chat Completions API, the Assistants API supports function calling. Function calling allows you to describe functions to the Assistants API and have it intelligently return the functions that need to be called along with their arguments. In this example, we'll create a weather assistant and define two functions, get_current_tem...

Continue reading

sgcWebSockets 2025.5

Rad Studio [+] : Improved WebAuthn Server: new events to handle better the Options request/response for the Registration and Authentication flows. - OnWebAuthnRegistrationOptionsRequest: allows to cancel an undesired registration request. - OnWebAuthnRegistrationOptionsResponse: allows to customize the registration options response. - OnWebAuthnAut...

Continue reading

OpenAI RealTime API

From sgcWebSockets 2025.5.0 the OpenAI RealTime API is supported (currently only transcription mode). The OpenAI Realtime API enables low-latency, multimodal interactions including speech-to-speech conversational experiences and real-time transcription. The component TsgcWSAPI_OpenAI implements the RealTime OpenAI API. Configuration Use the method ...

Continue reading

sgcWebSockets 2025.4

Rad Studio [+] : New WebAuthn Server Component: Implements the WebAuthn Server Specification, a web standard for secure, passwordless authentication. Currently in BETA. [+] : New WebAuthn Demo: Demonstrates how to register and authenticate using the TsgcWSAPIServer_WebAuthn component. Available in the folder "Demos\20.HTTP_Protocol\12.WebAuthn". [+...

Continue reading

WebAuthn Server

From sgcWebSockets 2025.4.0 Enterprise, the  WebAuthn Protocol is supported (currently in BETA).  WebAuthn (Web Authentication) is a web standard developed by the World Wide Web Consortium (W3C) and FIDO Alliance to enable secure, passwordless authentication on the web. It is part of the broader FIDO2 framework and aims to reduce rel...

Continue reading

sgcWebSockets AI Support

Registered users now have access to an advanced support tool designed specifically for developers utilizing the sgcWebSockets library from eSeGeCe Software. This tool leverages a specialized ChatGPT model trained exclusively for this library, ensuring tailored assistance.To access this feature, simply log in to your private account and navigate to ...

Continue reading

sgcWebSockets 2025.3

Rad Studio [+] : Added Support for Rad Studio 12.3 [+] : Improved Setup, a new option "Build Rad Studio IDE Win64" allows to install the package for the 64-bit IDE, by default is disabled. [+] : Improved TsgcWebSocketClient, when using SChannel there is a new event "OnSChannelVerifyPeer" to validate manually the certificate. [+] : Improved HTTPClie...

Continue reading

Rad Studio 12.3 IDE 64 bits

From sgcWebSockets 2024.3 the Rad Studio IDE for 64 bits is supported when using the automatic installer.  Configuration There is a new option, "Build Rad Studio IDE Win64," in the setup to allow the installation of components in the new IDE (disabled by default). When this option is selected, the components will be installed in both the 32-bi...

Continue reading