sgcWebSockets 2022.9

Rad Studio  [+] : Added support for EPOLL on Linux Indy Servers (Websocket and HTTPs Servers). The property IOHandlerOptions.IOHandlerType has a new value called iohEPOLL. [+] : New Property "IOHandlerOptions.EPOLL" on Indy Servers, to configure the EPOLL IOHandler Server properties. [+] : New Demo which shows how the Indy EPOLL Server works i...

Continue reading

Indy Servers - EPOLL Linux (3 / 3)

From sgcWebSockets 2022.9.0 there is a new IOHandler for Linux, using EPOLL you can avoid the "one-thread-per-client" problem where the performance decrease a lot as more connections are handled by the server. IOCP provides a few threads that handle multiple clients. The threads are suspended and don't use CPU cycles until there is something t...

Continue reading

Indy Servers - IOCP Windows (2 / 3)

From sgcWebSockets 2022.9.0 the Indy Server IOCP IOHandler has been rewritten from scratch and performance improved. The IOCP IOHandler is only available on sgcWebSockets Enterprise Package. Using IOCP you can avoid the "one-thread-per-client" problem where the performance decrease a lot as more connections are handled by the server. IOCP provides ...

Continue reading

Indy Servers - Thread Model (1 / 3)

Indy Servers use threads to handle the client connections, every time a new client connects to the server, a new thread is created and this thread handles the connection, so if you have 100 connections, there will be 100 threads. Additionally, indy uses blocking sockets, which means when you read or write, the function doesn't return until it is co...

Continue reading

OpenSSL Libraries Updated

The openSSL libraries have been updated to the latest version: - OpenSSL 1.1.1s - OpenSSL 3.0.7 (fixes critical vulnerability from version 3.0.0 to 3.0.6)

OpenSSL 3.0.7 Fixes Critical Vulnerability

OpenSSL has released a new version, 3.0.7 that fixes a Critical Vulnerability from openSSL versions 3.0.0 to 3.0.6. Registered users can download the latest openSSL version from the private account. The vulnerability is a buffer overflow in the X.509 certificate verification, which is the code used to validate TLS certificates. The vulnerability co...

Continue reading

WinHTTP Security Error 12175

After the Windows Update KB5018410 (10 October 2022) TLS 1.0 and TLS 1.1 were not supported anymore, but this seems has affected to TLS 1.2 protocol, so when using WinHTTP to connect using TLS 1.2, the following error was raised and the connection was closed: Security Error 12175 This issue affect to users running the following sgcWebSockets c...

Continue reading

sgcWebSockets 2022.8

Rad Studio  Here is the comprehensive list of new features and bug fixes included in this version: [+] : Added support for new iOS Simulator for ARM64 (Rad Studio 11.2). [+] : Added support for DTLS over UDP (Server and Client components). [+] : New Component TsgcRTCPeerConnection, allows to connect and exchange data between 2 remote peers (P2...

Continue reading

RTCPeerConnection P2P

From sgcWebSockets 2022.8.0 a new component has been added to the sgcWebSockets library, the TsgcRTCPeerConnection. The TsgcRTCPeerConnection is a client component that allows to connect peers using P2P through UDP. The flow can be break into 4 steps:SignalingConnectingSecuringCommunicating To implement those steps, the client make use of the follo...

Continue reading

DTLS over UDP on Server and Client Components

From sgcWebSockets 2022.8.0 DTLS over UDP is supported by Server and Client UDP components. This means that now you can send encrypted messages using UDP (like WebSocket or HTTP protocol that work over TLS). From Wikipedia: Datagram Transport Layer Security (DTLS) is a communications protocol providing security to datagram-based applications b...

Continue reading

Delphi 11.2 iOS ARM Simulator

From sgcWebSockets 2022.8.0 the new iOS ARM Simulator personality is supported, so now you can test your iOS projects in a iOS simulator if you have a Mac based on ARM. Just select the new personality in the Rad Studio Project, build and start the project, the application will be shown in the ARM machine. This will reduce the time during developmen...

Continue reading
Tags:

sgcWebSockets 2022.7

Rad Studio  Here is the comprehensive list of new features and bug fixes included in this version: [+] : New Client Component TsgcWSAPI_XTB. FX and CFD trading, providing access to over +2000 financial markets. [+] : New XTB demo showing the main features of crypto api. It's in the folder "05.Crypto\01.CryptoAPI" [+] : Improved Binance Client,...

Continue reading

WhatsApp API Send Local Files

From sgcWebSockets 2022.7.0, now you can upload local files (like pdf, videos, audios...) to WhatsApp Servers and send a message to your users. Previously to this improvement, you can only send files to users that were uploaded previously to a public website. Image Messages  Call the method SendMessageImage and pass the following parameters: a...

Continue reading

Binance Wallet API

From sgcWebSockets 2022.7.0 the Binance Wallet API is supported, this means you can request Withdraw, view the deposit history, withdraw history and more. https://binance-docs.github.io/apidocs/spot/en/#wallet-endpoints Wallet Methods Method Description GetWalletSystemStatus Fetch system status. GetWalletAllCoinsInformation Get information of coins...

Continue reading

Delphi XTB API Client

From sgcWebSockets 2022.7.0 XTB WebSocket API is supported, XTB provides access to over 2100 financial markets including FX, indices, shares, commodities and more. Properties  The WebSocket protocol allows 2 types of requests: Streaming commands (receive live updates) and Retrieve Trading Data (send a request to server retrieving some inf...

Continue reading

sgcWebSockets 2022.6

Rad Studio  Here is the comprehensive list of new features and bug fixes included in this version: [+] : New Client Component TsgcWSAPI_OKX. OKX, formerly known as OKEx, is one of the largest crypto spot and derivatives trading exchanges. [+] : New OKX demo showing the main features of crypto api. It's in the folder "05.Crypto\01.CryptoAPI" [+...

Continue reading

ICE Client (Interactive Connectivity Establishment)

From sgcWebSockets 2022.6 a new component is included in the library, the ICE client which implements the RFC8445. ICE is one of the protocols used on WebRTC (with STUN, TURN, WebSockets... which are already supported). Interactive Connectivity Establishment (ICE) is a technique used in computer networking to find ways for two computers to talk to ...

Continue reading

Delphi OKX API

From sgcWebSockets 2022.6.0 OKX Crypto Broker is supported, OKX, formerly known as OKEx, is one of the largest crypto spot and derivatives trading exchanges. OKX is a Seychelles-based cryptocurrency exchange that provides a platform for trading various instruments such as spot and derivative. Some of the exchange's core features include spot a...

Continue reading

.NET WhatsApp Cloud API

From sgcWebSockets 2022.6.0 WhatsApp Cloud API is supported for .NET. Send and receive messages using a cloud-hosted version of the WhatsApp Business Platform. The Cloud API allows you to implement WhatsApp Business APIs without the cost of hosting of your own servers and also allows you to more easily scale your business messaging. The Cloud API s...

Continue reading
Tags:

sgcWebSockets 2022.5.0

Rad Studio  Here is the comprehensive list of new features and bug fixes included in this version: [+] : New WhatsApp Client, allows to send and receive messages, documents, images... using Whatsapp Cloud API. [+] : New WhatsApp Demo, shows how works the WhatsApp Cloud API: send messages, receive notifications... [+] : New OpenAPI Client Amazo...

Continue reading