Table of Contents

Namespace VpnHood.Net.TcpStack

Classes

LocalTcpClient

Represents a connection a LocalTcpListener accepted: its endpoints and the stream it owns.

LocalTcpListener

Provides a listener of a LocalTcpStack: it queues the connections that complete their handshake until they are accepted, the way TcpListener does for sockets.

LocalTcpStack

Provides a lightweight TCP stack: it terminates the TCP connections carried in the IP packets it is fed, such as those a VPN adapter reads from its interface, and gives each as a LocalTcpClient.

LocalTcpStackOptions

Provides the options of a LocalTcpStack: its windows, buffers, timeouts and connection limits, so its memory can be sized per platform.

TcpStackDiagnostics

Encapsulates live diagnostic metrics and performance counters for a LocalTcpStack instance. All metrics are updated thread-safely.