SocketMeister.Sources
3.0.1
See the version list below for details.
dotnet add package SocketMeister.Sources --version 3.0.1
NuGet\Install-Package SocketMeister.Sources -Version 3.0.1
<PackageReference Include="SocketMeister.Sources" Version="3.0.1" />
paket add SocketMeister.Sources --version 3.0.1
#r "nuget: SocketMeister.Sources, 3.0.1"
// Install SocketMeister.Sources as a Cake Addin #addin nuget:?package=SocketMeister.Sources&version=3.0.1 // Install SocketMeister.Sources as a Cake Tool #tool nuget:?package=SocketMeister.Sources&version=3.0.1
Please visit the SocketMeister project website on GitHub for detailed documentation and C# examples to get you quickly up an running.
SocketMeister is a socket library for solutions requiring persistent, fault tolerant, multiple endpoint TCP/IP connectivity. It is easy to use, high throughput and multithreaded. SocketMeister can scale from a single socket server to a farm of server instances.
The SocketMeister SocketClient
provides fault tolerance by automatically reconnecting in the event of connection failure and in environment where multiple servers are deployed (For example, for redundancy and/or high workload), SocketMeister Client will automatically round-robin until a server is found.
The SocketMeister SocketServer
provides a simple framework whereby messages and requests (messages expecting a response) are presented in thread independent events. Your code site cleanly in the event handler, where it can read an array of parameters sent by the client and execute your business logic. In the case of a request, your code can provide a response, which is automatically returned to the client. SocketMeister supports binary arrays, strings and most simple data types. It you enable optional compression, data is seamlessly compressed and decompressed using a high throughput compression algorithm.
SocketMeister NuGet Packages
SocketMeister SocketClient
works with many .NET framework versions, from aging .NET 3.5 and Silverlight 5 to .NET 5 and almost everything in-between.
SocketMeister SocketServer
is included in DLLs compiled with .NET framework 4.0 and above.
There are 3 NuGet packages available:
The SocketMeister NuGet package contains the DLL for numerous .NET Frameworks including.NET 3.5, .NET 4.0, .NET 4.5, .NET 4.6, .NET 4.7.2, .NET Standard 2.0, .NET Core 3.1 and .NET 5. The SocketMeister
SocketClient
works in all included frameworks. The SocketMeisterSocketServer
is not available in .NET 3.5. Your socket server functionality must beThe SocketMeister.Silverlight NuGet package contains the DLL for Silverlight 5 projects. The SocketMeister
SocketServer
class is not included because the server component wouldn't work in Silverlight.The SocketMeister.Sources NuGet package contains the C# source files for SocketMeister, enabling you to embed SocketMeister in your own project EXE or DLL. This eliminates the need to ship the SocketMeister DLL with your product. Simply add the SocketMeister.Sources NuGet package to your Visual Studio project and a folder containing the code will be added to the project.
Learn more about Target Frameworks and .NET Standard.
This package has 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 |
---|---|---|
4.0.6 | 271 | 1/2/2024 |
4.0.4 | 399 | 1/6/2022 |
4.0.3 | 381 | 7/4/2021 |
4.0.2 | 368 | 6/9/2021 |
4.0.1 | 389 | 3/26/2021 |
4.0.0 | 375 | 3/15/2021 |
3.0.1 | 445 | 3/11/2021 |
3.0.0 | 472 | 3/11/2021 |
2.2.5 | 351 | 3/11/2021 |
2.2.4 | 373 | 3/8/2021 |
2.2.3 | 426 | 3/6/2021 |
2.2.2 | 361 | 3/1/2021 |
2.2.1 | 389 | 2/24/2021 |
2.2.0 | 391 | 2/23/2021 |
2.0.7 | 397 | 1/20/2021 |
2.0.6 | 414 | 1/15/2021 |
2.0.5 | 517 | 10/7/2020 |
2.0.4 | 571 | 10/1/2020 |
2.0.1 | 472 | 5/8/2020 |
2.0.0 | 450 | 5/6/2020 |
1.0.3 | 1,008 | 4/4/2019 |
1.0.1 | 653 | 4/1/2019 |
1.0.0 | 617 | 3/29/2019 |
SocketMeister.Sources. Removed 2 classes which should not have been included in SocketMeister.Sources 3.0.0.0
New major version 3.0.0.0
1. Removed Silverlight Policy Server. Silverlight client continues to be supported but you must implement your own policy server.
2. SocketServer. Removed event ExceptionRaised. Use TraceEventRaised instead. If you are only interested in errors, ignore all trace events except where Severity = SeverityType.Error.
3. SocketServer. Removed event MessageReceived. It was never functional in any version of SocketMeister. All messages are presented via the RequestReceived event.
4. SocketServer. Property ListenerState is deprecated. Property Status has been available for many versions.
5. SocketServer. Changed event ListenerStateChanged to StatusChanged. The new event no longer provides the status with the event. On receiving the StatusChanged event, check the property SocketServer.Status. The removal of data in the event was necessary because these events are raised in separate threads so as to not affect performance. Very vast changes during start up and shutdown would cause incorrect results when showing the status on a user interface.
6. SocketServer.ClientsChanged event deprecated. Use existing SocketServer.ClientConnected and SocketServer.ClientDisconnected events.
7. EventArgs type MessageReceivedEventArgs is deprecated as it is no longer used.
8. Fixed object disposed bug when stopping client under high load and a connect event completes