AltarNet3 3.2.3

There is a newer version of this package available.
See the version list below for details.
Install-Package AltarNet3 -Version 3.2.3
dotnet add package AltarNet3 --version 3.2.3
<PackageReference Include="AltarNet3" Version="3.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AltarNet3 --version 3.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AltarNet3, 3.2.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AltarNet3 as a Cake Addin
#addin nuget:?package=AltarNet3&version=3.2.3

// Install AltarNet3 as a Cake Tool
#tool nuget:?package=AltarNet3&version=3.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AltarNet3 (or AN3 for short) is a library that facilitate the creation of TCP servers/clients, along with UDP. TCP connections can be secured via SSL, with only a few easy steps.

It comes with a powerful FTP manager, taking advantage of .NET 4.5's new asynchronous pattern (Async/Await), featuring cancellable requests and download/upload progress monitoring.

Also comes with a 'single instance' and a 'thread safety' helper.

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
3.2.4 3,049 2/11/2014
3.2.3 998 2/9/2014
3.2.2 973 2/7/2014
3.2.1 975 2/2/2014
3.2.0 990 1/30/2014
3.1.0 992 1/25/2014
3.0.1 977 1/9/2014 1,021 12/30/2013 972 12/30/2013 989 12/30/2013
3.0.0 971 12/30/2013 :
- The SendFile(Async) method of the TCP client / server actually work now. (Note to self : test with bigger files)
- Added a property to the TcpClientInfo class named ReadNextNotBuffered, which basically work like ReadNextAsLong. It set the next packet received to ignore the ReceivedFull event. Useful for file transfer and streaming.
- A TCP read timeout now properly disconnect with the fixes of
- TcpFragments are now 100% recycled, therefore less garbage to collect. :
- Fixed a few problems with disconnections;
- Added a way to disconnect via a TcpClientInfo. :
- Overall improvements in sending the length of a TCP message, by taking into account the 'network to host / host to network' byte ordering;
- Added a property for a TCP server / client named IsLengthInOneFrame, which combine the usual two writes when sending a message, into one;
- The TCP event ReceiveError specifically ignore a few exceptions, which are normal occurrances;
- Very slight improvements in TCP packet handling;
- Improved the synchronization when a TCP server or client start receiving messages, so that if you send a message immediately after being connected, it won't have a chance to be ignored;
- The ThreadSafeHelper's Release method now do nothing when the key does not exist; :
- Largely improved SSL support;
- Added an SSL Helper class (named SslHelper) with a method to get or create a self-signed certificate (and add it to the local cert store), in one simple line;
- Improved SendFile method for both TCP server and client, with an added asynchronous version;
- Added SendAllFile to TcpServerHandler;
- The method WriteToStreamAsync from TcpFragment is now obsolete, use WriteToStream instead.