AltarNet3 3.2.4

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.

Install-Package AltarNet3 -Version 3.2.4
dotnet add package AltarNet3 --version 3.2.4
<PackageReference Include="AltarNet3" Version="3.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AltarNet3 --version 3.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

3.2.4.0 :
- Improved upon the TCP message framing handler, also fixed some potential issues with it;
- The recycling of TcpFragments is now actually 100%, it wasn't in the previous version;
- A TcpFragment no longer have the property IgnoreFullEvent. However, a TcpClientInfo still got ReadNextNotBuffered, as described in the previous changelog;
- Increased the default read buffer size for TCP clients and server's clients to 16KB each, up from 4KB;
- The buffer size can be set when creating a TCP client or server;

3.2.3.0 :
- 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 3.2.2.0.
- TcpFragments are now 100% recycled, therefore less garbage to collect.

3.2.2.0 :
- Fixed a few problems with disconnections;
- Added a way to disconnect via a TcpClientInfo.

3.2.1.0 :
- 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;

3.2.0.0 :
- 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.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.2.4 2,497 2/11/2014
3.2.3 598 2/9/2014
3.2.2 589 2/7/2014
3.2.1 593 2/2/2014
3.2.0 580 1/30/2014
3.1.0 598 1/25/2014
3.0.1 583 1/9/2014
3.0.0.3 629 12/30/2013
3.0.0.2 591 12/30/2013
3.0.0.1 589 12/30/2013
3.0.0 598 12/30/2013