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 .NET Client C#

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:  TsgcWebSocketC...

Continue reading
Tags:

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 .NET Server C#

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: private void OnMessage(TsgcWSConnection Connection, const string Text){ MessageBox.Show("Message Received From Client: " + Text);} 4. Drop a Button onto the Form, Double Click and ty...

Continue reading
Tags:

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 .NET

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 .NET Application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-ti...

Continue reading
Tags:

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

sgcWebSockets 4.3.7

Changes included in sgcWebSockets 4.3.7 [+] : New Component TsgcTDLib_Telegram, Allows to build Telegram Clients using TDLib JSON library. [+] : New Demo "Telegram" which shows how connect to telegram API, send a Text message, receive text messages, available chats... [+] : Improved Kraken API Component, now WebSocket API supports private channels....

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

sgcWebSockets 4.3.6

Changes included in sgcWebSockets 4.3.6 [+] : New Component TsgcHTTPGoogleCloud_PubSub_Client, Google Cloud Pub/Sub API provides messaging between applications and is designed to provide reliable, many-to-many, asynchronous messaging between applications. [+] : New Demo "Google/PubSub" which shows how connect to Google Cloud Pub/Sub API and create ...

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

COVID-19

As you know we are in Spain (Europe) and the coronavirus is seriously affecting the situation of companies and freelancers. The entire country is in quarantine, many people cannot work and have been fired, hospitals are collapsed ...I hope that you and your families, coworkers, friends ... are well, follow the government instructions until the situ...

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

sgcWebSockets 4.3.5

Changes included in new version:  [+] : New Component TsgcHTTPAWS_SQS_Client, Amazon SQS is a fully managed message queues for microservices, distributed systems, and serverless applications. [+] : New Component TsgcWSAPI_Discord, Discord is one of the most popular communication tools for online gaming and streaming. (Thanks to Adriaan for his...

Continue reading