Skip to content

Releases: alandoherty/protosocket-net

ProtoSocket

06 Sep 16:46
Compare
Choose a tag to compare
Added SSL example, bug fixes and upgrade refactor

- Fixed a bug where the PeerConfiguration constructor ignored the protocolMode argument and always set the mode to active
- Changed the way UpgradeAsync works, it now requires that the peer be in Passive mode, simplifying the logic but potentially a breaking change
- Added SslUpgrader.CheckCertificateRevocation
- Added SslUpgrader.RemoteValidationCallback
- Added SslUpgrader.LocalSelectionCallback
- Added an SSL text-protocol example
- Moved to 0.6.0

ProtoSocket

06 Sep 16:46
Compare
Choose a tag to compare
0.5.4

Added .NET 4.6 and moved to 0.5.4

ProtoSocket

04 Sep 14:31
Compare
Choose a tag to compare
Updated packages and moved to 0.5.3

- Updated pipelines package from 4.5.2 to 4.5.3
- Moved to 0.5.3

ProtoSocket

29 May 13:53
Compare
Choose a tag to compare
Added subscription flush option

- Moved to 0.5.2
- In some cases you may call Subscribe on an active peer after frames have been received, for simplicitly you can now use the SubscriptionOptions.Flush option to cause any frames in the queue to be dequeued and sent to the observer

ProtoSocket

12 Apr 15:19
Compare
Choose a tag to compare
Improved server accept logic

- Added ProtocolServer.AcceptDelay, which introduces a variable delay between accepting new connections
- Added ProtocolServer.AcceptMode, allowing you to manually control the accepting of new connections
- Moved to 0.5.1

ProtoSocket

31 Jan 02:01
Compare
Choose a tag to compare
  • Redefined the IProtocolUpgrader API, removed type parameter dependency
  • Better handling of upgrading connections
  • ProtocolPeer.Configure is now protected internal instead of internal
  • Added ProtocolClient(IProtocolCoder, ProtocolMode) constructor
  • Frames can now be structures instead of reference types
  • QueueAsync task now completes when the frame is actually flushed not when it's written to the stream
  • IProtocolCoder.WriteAsync is now IProtocolCoder.Write and is much much better optimised when sending bulk small-mid sized frames
  • Removed ProtocolServer.Stop since it cannot reliably prevent new connections
  • Added ProtocolPeer.GetStream to get the underlying data stream
  • Added ProtocolPeer.TryReceive to try and dequeue a received frame waiting in the buffer without blocking
  • Added more members to IProtocolPeer that are present in ProtocolPeer
  • Minecraft example now spawns you looking at the text
  • Minecraft example now uses structures for it's packets
  • Frames can now implement IDisposable to indicate reusability/releasing of managed resources after sending
  • Renamed ProtocolServer.Endpoint to ProtocolServer.Endpoints for multiple-endpoint listening future proofing
  • Added ProtocolServer.FlushAsync, ProtocolServer.SendAsync and ProtocolServer.Queue utility functions with predicate support
  • Added ProtocolPeer.GetStatistics for network stats and fixed incorrect frame out count
  • Added protocol modes active/passive
  • Improved chat example
  • Fixed peers locking up when filling up the internal pipe buffer, the pipe buffer will now be 2x the buffer size or 34768, whichever is higher. Coders must always be able to process incoming data so that the queued data never raises above the threshold
  • Removed ProtocolPeer.Transfer
  • Moved to 0.5.0

ProtoSocket

30 Jan 12:08
Compare
Choose a tag to compare
Filtering improvements

- Renamed ProtocolServer.ConnectionFilter to ProtocolServer.Filter
- Removed unused extension file
- Cleaned up connection filters
- Moved to 0.4.1

ProtoSocket

30 Jan 12:08
Compare
Choose a tag to compare
ProtoSocket Pre-release
Pre-release
Various fixes and minor changes

- Moved to 0.4.0
- Added Example.Line
- Renamed ProtocolPeer.SendAsync(CancellationToken) to ProtocolPeer.FlushAsync(CancellationToken)
- Cleared up end of stream logic
- Fixed bug which would prevent peers fully disconnecting if a observer was subscribed

ProtoSocket

30 Jan 12:07
Compare
Choose a tag to compare
ProtoSocket Pre-release
Pre-release
Fixed disconnects not being called correctly

- Moved to 0.3.3

0.3.2: Fixes for samples for new coder factory

03 Dec 23:21
Compare
Choose a tag to compare
- Moved to 0.3.2