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

Kraken API WebSocket and REST API

From sgcWebSockets 4.3.7, Kraken API component has been improved and new methods have been implemented. Main improvements: WebSockets Public API: connects to a public WebSocket server.WebSockets Private API: connects to a private WebSocket server and requires an API Key and API Secret to Authenticate against server.REST Public API: connects to...

Continue reading

Azure OAuth2 Authentication

The OAuth 2.0 authorization code grant can be used in apps that are installed on a device to gain access to protected resources, such as web APIs. Using the Microsoft identity platform implementation of OAuth 2.0, you can add sign in and API access to your mobile and desktop apps. sgcWebSockets supports Authorization Code Grant, so you can use our ...

Continue reading

sgcWebSockets and React client

sgcWebSockets library fully supports RFC6455, so any client that supports this RFC will be able to connect to our servers. You can connect with REACT to sgcWebSockets library without problems, just create a new class which implements WebSocket class and use it to connect, send messages, receive messages from server... React WebSocket Example  ...

Continue reading

Google Cloud Pub/Sub Delphi Component

From sgcWebSockets 4.3.6, Google Cloud Pub/Sub API is supported. Pub/Sub brings the flexibility and reliability of enterprise message-oriented middleware to the cloud. At the same time, Pub/Sub is a scalable, durable event ingestion and delivery system that serves as a foundation for modern stream analytics pipelines. By providing many-to-many, asy...

Continue reading

Binance API WebSocket and Rest API

 From sgcWebSockets 4.3.6, binance API has been improved and new methods have been implemented. Main improvements: 1. Deleted all methods to subscribe before a successful websocket connection. 2. Added support for live subscriptions in websocket api. 3. Added support for user stream websocket data. 4. Added support for Rest API. Binance APIs&n...

Continue reading