.N .NET Landscape

Pipelines.Sockets.Unofficial

Networking & Real-time
github.com/mgravell/Pipelines.Sockets.Unofficial

.NET managed sockets wrapper using the new "Pipelines" API

GitHub stars
444
Forks
59
Open issues
19
NuGet downloads
964,177,133
latest 2.2.16
Language
C#
Last push
5 months ago
22 May 2026
Created
25 Feb 2018

Pipelines.Sockets.Unofficial

This is a managed sockets connector for the System.IO.Pipelines API, intended to act as a stop-gap while there is no official such connector. Pipelines are pretty useless if you can't actually connect them to anything...

It draws inspiration from:

and aims to provide a high-performance implementation of the IDuplexPipe interface, providing both client and server APIs. At the moment the API is very preliminary.

Release Notes

Key APIs:

  • SocketConnection - interacting with a Socket as a pipe
  • StreamConnection - interacting with a Stream as a pipe, or a pipe as a Stream
  • Arena / Arena<T> / Sequence<T> / Reference<T> - arena allocation APIs

It is provided under the MIT license.