Mapping Groups and Connections

In a previous post I Introduced the new Groups feature on WebSocket Servers. This post I will show how to combine the WebSocket Groups with the Client Connections to identify and store the user data in a client connection. sgcWebSockets library allows you to create your own objects and link to a TsgcWSConnection class, so you can access at any time...

Continue reading

WebSocket Groups: Channels, Users and more

From sgcWebSockets 2023.2.0 a new feature has been implemented to improve Server Message Broadcasting. Groups is a new feature in sgcWebSockets library, that allows you to organize connections (representing clients, such as browsers) into named groups. This allows you to broadcast messages to all connections in a group instead of sen...

Continue reading

sgcWebSockets 2023.1

Rad Studio [+] : Updated Telegram libraries to version 1.8.9. [+] : Improved Telegram Client, when there is an error while loading the library on MacOS, now the error message with the reason is caught. [+] : Improved Indy Server, new property SSLOptions.OpenSSL_Options.CipherList to customize the Cipher List. [*] : Fixed Bug IOCP IOHandler and SSL,...

Continue reading

Using ChatGPT from Delphi

ChatGPT is a large language model developed by OpenAI. It was trained using a technique called unsupervised learning, which means that it was fed a large dataset of text and learned to predict the next word in a sequence based on the words that came before it. This allows ChatGPT to generate human-like text, which can be used for a variety of purpo...

Continue reading

Updated Telegram Libraries for Delphi, CBuilder & .NET

sgcWebSockets supports Telegram TDLib, so you can build your own Telegram Client for any Delphi personality: Windows 32Windows 64Mac OSXMac OSXARM64iOSAndroidLinux64 The Telegram libraries have been updated to the latest TDLib version 1.8.9. Customers with an Active subscription can download from private account. These New libraries are only compat...

Continue reading

sgcWebSockets 2022.10

Rad Studio  [+] : New Client API: Bybit: cryptocurrency exchange and trading platform. Implement WebSocket protocol for: Spot, Inverse Perpetual, USDT Perpetual and Inverse Futures. [+] : Improved Demo "05.Crypto\01.CryptoAPI" which shows how Bybit client API works. [+] : Improved WhatsApp API to version 15.0. [+] : Improved WhatsApp API, new ...

Continue reading

Indy Setup Rad Studio Delphi and CBuilder

From sgcWebSockets 2022.10.0, the sgcIndy package can be installed using a windows setup. The sgcIndy setup uninstall the Standard Indy version that comes with Rad Studio, install the new Indy version and register the required paths. Installation  Execute the Installer.First you must set your username/password of your private eSeGeCe account. ...

Continue reading

Bybit Client API

From sgcWebSockets 2022.10.0 Bybit Crypto Exchange is supported. The following APIs supported WebSocket API: connect to a websocket server and provides real-time market data updates, account changes and more.REST API: send HTTP requests to get market data, place orders, account data... The following product APIs are implemented: Spot (V3)USDT ...

Continue reading

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