esegece.sgcWebSockets
2022.10.0
See the version list below for details.
dotnet add package esegece.sgcWebSockets --version 2022.10.0
NuGet\Install-Package esegece.sgcWebSockets -Version 2022.10.0
<PackageReference Include="esegece.sgcWebSockets" Version="2022.10.0" />
paket add esegece.sgcWebSockets --version 2022.10.0
#r "nuget: esegece.sgcWebSockets, 2022.10.0"
// Install esegece.sgcWebSockets as a Cake Addin #addin nuget:?package=esegece.sgcWebSockets&version=2022.10.0 // Install esegece.sgcWebSockets as a Cake Tool #tool nuget:?package=esegece.sgcWebSockets&version=2022.10.0
sgcWebSockets Community Edition is a complete package providing access to WebSockets protocol, allowing to create WebSocket Servers and Clients in .NET Applications for Windows 32/64 bits and MacOS 64bits. Other protocols like OAuth2, JWT, MQTT, Socket.IO, Telegram, Binance and more protocols are supported.
Available Assemblies:
- .NET Framework 2.0
- .NET Framework 3.5
- .NET Framework 4.0
- .NET Framework 4.5
- .NET Framework 5.0
- .NET Framework 6.0
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Core 1.1
- .NET Core 2.0
- .NET Core 3.0
Features
- Fully functional multithreaded WebSocket server according to RFC 6455.
- Supports Windows 32 / Windows 64 / OSX64
- Assemblies for .NET FRAMEWORK (2.0+), .NET STANDARD (1.1+), .NET CORE (1.0+).
- Supports Chrome, Firefox, Safari, Opera and Internet Explorer (including iPhone, iPad and iPod)
- Multiple Threads Support. Indy Servers support IOCP or default Indy one thread per connection model.
- Supports Message Compression using PerMessage_Deflate extension RFC 7692.
- Supports Text and Binary Messages.
- Supports Server and Client Authentication.
- Server component providing WebSocket and HTTP connections through the same port.
- FallBack support through Adobe Flash for old Web Browsers like Internet Explorer from 6+.
- Supports Server-Sent Events (Push Notifications) over HTTP Protocol.
- WatchDog and HeartBeat built-in support.
- Client WebSocket supports connections through HTTP Proxy Servers and SOCKS Proxy Servers.
- Events Available: OnConnect, OnDisconnect, OnMessage, OnError, OnHandshake
- Protocols Supported: MQTT (3.1.1 and 5.0), WebRTC, Socket.IO, Binance, STUN, TURN, OAuth2, JWT and more.
- OAuth2 Authorization support on Server and Client.
- Build a fully featured WhatsApp and Telegram client.
- Built-in Javascript libraries to support browser clients.
- Easy to setup
- Javascript Events for full control
- SSL/TLS Support for Server / Client Components (OpenSSL libraries required). OpenSSL 1.1.1 and 3.0.0 libraries are supported. Client supports SChannel for Windows.
QuickStart
WebSocket Server
- Create a new Window Forms Application
- Drop a TsgcWebSocketServer onto a Form.
- 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);
}
- Drop a Button onto the Form, Double Click and type this code:
TsgcWebSocketServer1.Active = True;
WebSocket Client
- Create a new Window Forms Application
- Drop a TsgcWebSocketClient onto a Form and configure Host and Port Properties to connect to Server.
- Drop a TButton in a Form, Double Click and type this code:
TsgcWebSocketClient1.Active = true;
- Drop a Button onto the Form, Double Click and type this code:
TsgcWebSocketClient1.WriteData("Hello Server From VCL Client");
More information
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 is compatible. netcoreapp1.1 was computed. netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 1.0
- Microsoft.NETCore.App (>= 1.0.5)
-
.NETCoreApp 2.0
- No dependencies.
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.9.0 | 134 | 10/25/2024 |
2024.8.0 | 137 | 9/22/2024 |
2024.7.0 | 210 | 8/25/2024 |
2024.6.0 | 163 | 6/22/2024 |
2024.5.0 | 182 | 5/17/2024 |
2024.4.0 | 199 | 4/20/2024 |
2024.3.0 | 214 | 3/26/2024 |
2024.2.0 | 159 | 2/24/2024 |
2024.1.0 | 217 | 1/11/2024 |
2023.8.0 | 313 | 11/10/2023 |
2023.7.0 | 268 | 9/15/2023 |
2023.6.0 | 306 | 8/3/2023 |
2023.5.0 | 334 | 6/7/2023 |
2023.4.0 | 251 | 5/8/2023 |
2023.3.0 | 361 | 4/10/2023 |
2023.2.1 | 590 | 3/3/2023 |
2023.2.0 | 541 | 2/27/2023 |
2023.1.0 | 693 | 1/21/2023 |
2022.10.0 | 541 | 12/14/2022 |
2022.9.0 | 551 | 11/15/2022 |
2022.8.0 | 646 | 10/4/2022 |
2022.7.0 | 649 | 9/3/2022 |
2022.6.0 | 852 | 7/12/2022 |
2022.5.0 | 782 | 6/6/2022 |
2022.4.0 | 797 | 4/25/2022 |
2022.3.0 | 846 | 3/12/2022 |
2022.2.0 | 670 | 2/12/2022 |
2022.1.0 | 443 | 1/8/2022 |
4.5.4.1 | 607 | 11/13/2021 |
4.5.4 | 487 | 11/10/2021 |