Table of Contents

Namespace VpnHood.Net.TcpStack.Abstractions

Classes

TcpStackEventIds

EventIds for TcpStack verbose logging, so its hot-path traces can be told apart in a log.

Interfaces

ITcpClient

Represents a connection an ITcpListener accepted, the way TcpClient does for a socket. Disposing it closes the connection.

ITcpListener

Represents a listener that accepts the connections an ITcpStack completes, the way TcpListener does for sockets.

ITcpStack

Represents a TCP stack that terminates the TCP connections carried in IP packets: it is fed packets through ProcessIncoming(IpPacket), hands the packets it produces to OnPacketSend, and gives each accepted connection as an ITcpClient through an ITcpListener.