esegece.sgcWebSockets 2022.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package esegece.sgcWebSockets --version 2022.2.0
NuGet\Install-Package esegece.sgcWebSockets -Version 2022.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="esegece.sgcWebSockets" Version="2022.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add esegece.sgcWebSockets --version 2022.2.0
#r "nuget: esegece.sgcWebSockets, 2022.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install esegece.sgcWebSockets as a Cake Addin
#addin nuget:?package=esegece.sgcWebSockets&version=2022.2.0

// Install esegece.sgcWebSockets as a Cake Tool
#tool nuget:?package=esegece.sgcWebSockets&version=2022.2.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 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 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

  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);

}

  1. Drop a Button onto the Form, Double Click and type this code:

TsgcWebSocketServer1.Active = True;

WebSocket Client

  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;

  1. Drop a Button onto the Form, Double Click and type this code:

TsgcWebSocketClient1.WriteData("Hello Server From VCL Client");

More information

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETCoreApp 1.0

  • .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 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.4.0 126 4/20/2024
2024.3.0 133 3/26/2024
2024.2.0 136 2/24/2024
2024.1.0 168 1/11/2024
2023.8.0 265 11/10/2023
2023.7.0 219 9/15/2023
2023.6.0 249 8/3/2023
2023.5.0 278 6/7/2023
2023.4.0 236 5/8/2023
2023.3.0 319 4/10/2023
2023.2.1 517 3/3/2023
2023.2.0 473 2/27/2023
2023.1.0 617 1/21/2023
2022.10.0 482 12/14/2022
2022.9.0 499 11/15/2022
2022.8.0 581 10/4/2022
2022.7.0 576 9/3/2022
2022.6.0 774 7/12/2022
2022.5.0 702 6/6/2022
2022.4.0 730 4/25/2022
2022.3.0 782 3/12/2022
2022.2.0 614 2/12/2022
2022.1.0 376 1/8/2022
4.5.4.1 544 11/13/2021
4.5.4 442 11/10/2021