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

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

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

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