SimpleWebSocketServer.Lib 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleWebSocketServer.Lib --version 1.0.1                
NuGet\Install-Package SimpleWebSocketServer.Lib -Version 1.0.1                
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="SimpleWebSocketServer.Lib" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleWebSocketServer.Lib --version 1.0.1                
#r "nuget: SimpleWebSocketServer.Lib, 1.0.1"                
#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 SimpleWebSocketServer.Lib as a Cake Addin
#addin nuget:?package=SimpleWebSocketServer.Lib&version=1.0.1

// Install SimpleWebSocketServer.Lib as a Cake Tool
#tool nuget:?package=SimpleWebSocketServer.Lib&version=1.0.1                

SimpleWebSocketServer

SimpleWebSocketServer is a C# implementation of a basic WebSocket server and client. It allows for bidirectional communication between clients and the server over the WebSocket protocol.

Features

  • WebSocket Server: Provides a simple WebSocket server that can accept client connections and exchange messages.
  • WebSocket Client: Includes a client implementation that can connect to the server and exchange messages.
  • Event Handling: Supports events for server start, client connection, disconnection, and message reception.

Requirements

  • NET Standard 2.0 compatible framework

Usage

  1. Clone the repository:

    git clone https://github.com/yourusername/SimpleWebSocketServer.git
    
  2. Build the solution using Visual Studio or the .NET CLI:

    cd SimpleWebSocketServer
    dotnet build
    
  3. Run the server:

    cd SimpleWebSockerServer.Console.Server
    dotnet run
    
  4. Run the client:

    cd SimpleWebSockerServer.Console.Client
    dotnet run
    

Configuration

  • Server Configuration: The server listens on http://localhost:20005/ by default. You can change the server address in the Program.cs file of the server project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bug fixes, improvements, or new features.

Support

For support, questions, or suggestions, please open an issue.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SimpleWebSocketServer.Lib:

Package Downloads
SimpleWebSocketServer.SIBS.Lib

SimpleWebSocketServer is a lightweight C# implementation of a WebSocket server and client, facilitating bidirectional communication between clients and the server over the WebSocket protocol. It offers easy integration, event handling for server-side actions, and is suitable for simple messaging applications and real-time data exchange needs.

SimpleWebSocketServer.SIBS

SimpleWebSocketServer is a lightweight C# implementation of a WebSocket server and client, facilitating bidirectional communication between clients and the server over the WebSocket protocol. It offers easy integration, event handling for server-side actions, and is suitable for simple messaging applications and real-time data exchange needs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.12 69 11/27/2024
1.0.11 60 11/27/2024
1.0.10 77 11/22/2024
1.0.9 112 10/1/2024
1.0.8 87 9/30/2024
1.0.7 139 9/6/2024
1.0.6 109 9/5/2024
1.0.5 111 9/5/2024
1.0.4 88 7/30/2024
1.0.3 76 7/29/2024
1.0.2 114 7/5/2024
1.0.1 118 7/5/2024