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

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

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

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

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

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

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

WebSockets Client Delphi and CBuilder

QuickStart  1. Create a new Window Forms Application 2. Drop a TsgcWebSocketClient onto a Form and configure Host and Port Properties to connect to Server. 3. Drop a TButton in a Form, Double Click and type this code:  TsgcWebSocketClient1.Active := True; 4. Drop a Button onto the Form, Double Click and type this code:  TsgcWebSocket...

Continue reading

WebSockets Server Delphi and CBuilder

QuickStart 1. Create a new Window Forms Application 2. Drop a TsgcWebSocketServer onto a Form. 3. On Events Tab, Double click OnMessage Event, and type following code: procedure OnMessage(Connection: TsgcWSConnection; const Text: string);begin ShowMessage('Message Received From Client: ' + Text);end; 4. Drop a Button onto the Form, Double Click and...

Continue reading

WebSockets for Delphi and CBuilder

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.The WebSocket protocol enables interaction between a web browser (or other client application, like VCL Application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-tim...

Continue reading