Table of Contents

TCP stack

A lightweight user-space TCP stack: it ends the TCP connections carried in raw IP packets, from a TUN or WinDivert adapter, and gives you each one as a stream.

When to use it

  • You capture packets and want each TCP connection as a stream: to proxy it, inspect it or send it somewhere else.
  • Your code takes a stack without depending on its implementation: reference TcpStack.Abstractions alone.

Which package to take

  • TcpStack for the stack; TcpStack.Abstractions for its interfaces only.

Its packages

Package What it does
VpnHood.Net.TcpStack A lightweight user-space TCP stack: it terminates the TCP connections carried in raw IP packets, from a TUN or WinDivert adapter, and gives you each one as a Stream. Guide · API
VpnHood.Net.TcpStack.Abstractions The interfaces of VpnHood's user-space TCP stack, for code that takes a stack without depending on VpnHood.Net.TcpStack. Overview · API