SimpleWebSocketServer.Lib
1.0.9
See the version list below for details.
dotnet add package SimpleWebSocketServer.Lib --version 1.0.9
NuGet\Install-Package SimpleWebSocketServer.Lib -Version 1.0.9
<PackageReference Include="SimpleWebSocketServer.Lib" Version="1.0.9" />
paket add SimpleWebSocketServer.Lib --version 1.0.9
#r "nuget: SimpleWebSocketServer.Lib, 1.0.9"
// Install SimpleWebSocketServer.Lib as a Cake Addin #addin nuget:?package=SimpleWebSocketServer.Lib&version=1.0.9 // Install SimpleWebSocketServer.Lib as a Cake Tool #tool nuget:?package=SimpleWebSocketServer.Lib&version=1.0.9
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
Clone the repository:
git clone https://github.com/yourusername/SimpleWebSocketServer.git
Build the solution using Visual Studio or the .NET CLI:
cd SimpleWebSocketServer dotnet build
Run the server:
cd SimpleWebSockerServer.Console.Server dotnet run
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 theProgram.cs
file of the server project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
- This project is based on Microsoft's WebSocket sample.
- Special thanks to contributors and maintainers.
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 | Versions 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. |
-
.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.