sgcWebSockets includes client and server-side implementations of the WebSocket protocol (RFC 6455). HTTP/s is also full supported.
Your messages are secure using our SSL/TLS implementation. Widest compatibility via support for modern TLS 1.3 and TLS 1.2
Several protocols are supported: MQTT, STOMP, WEBRTC, WAMP... Built-in protocols support Transactions, Datasets, QoS, big file transfers and more. APIs supported for third-parties like Pusher, Bitfinex...
Share your code using our WebSockets library for your Delphi , .NET and CBuilder Applications. Includes Server, Clients and serveral protocols for building and connecting to WebSocket applications.
eSeGeCe provides a fully featured WebSocket component that allows to connect to any WebSocket Server using the latest TLS versions, OAuth protocol, JWT Tokens and much more.
sgcWebSockets supports latest HTTP protocol, the HTTP/2 version, which highly improves the performance of HTTP connections. The component is built using 100% native Delphi code without external dependencies. HTTP/1 protocol is supported too and includes the latest TLS versions for secure connections.
There are 2 available servers: one based on Indy library with support for WebSocket, HTTP, SSE, OAuth2, JWT, plain TCP connections... IOCP and EPOLL are supported too. And another server based on HTTP.SYS Microsoft API which can handle thousands of concurrents connections with support for HTTP and WebSocket without external dependencies.
Servers support HTTPs protocol (HTTP/1 and HTTP/2) including the latest Authentication protocols like OAuth2 or JWT. So you can build your REST server and provide OAuth2 Authentication for client requests. DataSnap server can be replaced by sgcWebSockets servers to improve stability, reliability and modernize the Authentication protocols adding OAuth2 and JWT.
Several Crypto Brokers are publishing WebSocket and REST APIs to allow custom trading through their platforms. sgcWebSockets fully supports real-time data using websocket streams or Trading private accounts through the REST API on several platforms like Binance, Coinbase Pro or Kraken.
sgcWebSockets provide solutions for working cloud providers like Amazon AWS, Microsoft Azure or Google Cloud. There are clients for IoT protocols, Amazon SQS, Google PubSub and more.
Discover the power of sgcWebSockets OpenAI applications! Harnessing the cutting-edge capabilities of artificial intelligence, our library empowers businesses to revolutionize their processes. Unlock unparalleled efficiency, accuracy, and innovation, as you automate tasks, enhance customer experiences, and gain valuable insights.
Embrace the future with OpenAI
and stay ahead of the competition.Unleash the potential of P2P applications and revolutionize connectivity! With our innovative components, experience direct communication and seamless sharing between users. Say goodbye to intermediaries, enjoy enhanced security and privacy, and tap into a world of decentralized collaboration. Embrace the power of P2P and reshape the way you connect and interact.
A lightweight messaging protocol for small sensors and mobile devices, optimized for high-latency or unreliable networks
It allows audio and video communication to work inside web pages.
Simple Text Orientated Messaging Protocol
WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol: Remote Procedure Calls + Publish & Subscribe.
Implemented using JSON-RPC 2.0 messages, provides following patterns: RPC, PubSub, Transactional Messages, Messages Acknowledgment and more.
implemented using binary messages, provides support for send files: packet size, authorization, QoS, message acknowledgment and more. Acknowledgment and more.
Inherits from SGC Protocol and it's useful if you want to broadcast dataset changes over clients connected to this protocol.
Allows to know who is subscribed to a channel, example: chat rooms, collaborators on a document, people viewing the same web page, competitors in a game...
Pusher it's an easy and reliable platform with nice features based on websocket protocol: flexible pub/sub messaging, live user lists (presence), authentication...
ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps.
Socket.IO is a JavaScript library for realtime web applications.
Bitfinex is one of the world's largest and most advanced cryptocurrency trading platform. Users can exchange Bitcoin, Ethereum, Ripple, EOS, Bitcoin Cash, Iota, NEO, Litecoin, Ethereum Classic...
Binance is a blockchain ecosystem comprised of Exchange, Labs, Launchpad, and Info.
Bitstamp is a bitcoin exchange based in Luxembourg. It allows trading between USD currency and bitcoin cryptocurrency.
Huobi is an international multi-language cryptocurrency exchange.
CEX.IO is a cryptocurrency exchange and former Bitcoin cloud mining provider.
Coinbase Pro is a platform that allows to buy, sell and store cryptocurrencies like Bitcoin, Ethereum...
FXCM is a retail broker for trading on the foreign exchange market.
Discord is one of the most popular communication tools for online gaming and streaming.
Telegram is a freeware, cross-platform, cloud-based instant messaging software and application service.
XTB provides access to over 2100 financial markets including FX, indices, shares, commodities and more.
CryptoHopper it's an automated crypto trading bot that allows to automate trading and portfolio management for Bitcoin, Ethereum, Litecoin and more.
3Commas is a cryptocurrency trading platform designed to help you build automated trading bots
The Source RCON Protocol is a TCP/IP-based communication protocol used by Source Dedicated Server, which allows console commands to be issued to the server via a "remote console", or RCON.
How Create VCL WebSocket ClientExample: open a websocket connection to echo.websocket.org 1. Create a new VCL Forms Application 2. Drop a TsgcWebSocketClient in 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:
4. Drop a TButton in a Form, Double Click and type this code:
5. Build Project and that's all, you have configured a basic WebSocket Client. |
How Create VCL WebSocket ServerExample: create a server which listen on port 80 1. Create a new VCL Forms Application 2. Drop a TsgcWebSocketServer in a Form and set listening port
3. On Events Tab, Double click OnMessage Event, and type following code:
4. Drop a TButton in a Form, Double Click and type this code:
5. Build Project and that's all, you have configured a basic WebSocket Server. |
How Create Linux WebSocket ServerExample: Simple Server listening on port 5000.
|
WebBrowser ClientExample: open a websocket connection to 127.0.0.1:8000 1. Create a new html file 2. Open file with a text editor and copy following code:
3. Save file and you have configure a WebSocket WebBrowser client. |
How Create Windows Forms WebSocket ClientExample: open a websocket connection to echo.websocket.org 1. Create a new Windows Forms Application 2. Create a TsgcWebSocketClient and configure Host and Port Properties to connect to Server.
3. Drop a Button on the Form, Double Click and type this code:
4. Drop a Button on the Form, Double Click and type this code:
5. Build Project and that's all, you have configured a basic WebSocket Client. |
How Create Windows Forms WebSocket ServerExample: create a server which listen on port 80 1. Create a new VCL Forms Application 2. Create a TsgcWebSocketServer and set listening port
3. Handle OnMessage Event, and type following code:
4. Drop a Button on the Form, Double Click and type this code:
5. Build Project and that's all, you have configured a basic WebSocket Server. |
Full Enterprise Single Trial version, works for a time limited period and can only be installed in a single WorkStation (Delphi 7 - Rad Studio 12)
Full Enterprise Single Trial version, works for a time limited period and can only be installed in a single WorkStation (CBuilder 10.1 - CBuilder 12)
CBuilder 12 | CBuilder 11 | CBuilder 10_4 |
---|---|---|
CBuilder 10_3 | CBuilder 10_2 | CBuilder 10_1 |
Includes a set of compiled demos which shows the use of sgcWebSockets
Download
ASP.NET Core React Demo
Download
sgcWebSockets .NET Community Edition (.NET 2.0 +, .NET Standard 1.6+, .NET Core 1.0+)
For Windows, Linux64 and OSX64
sgcWebSockets .NET Community
sgcWebSockets .NET Community Nuget Package
Includes a set of compiled demos which shows the use of sgcWebSockets
Download