Table of Contents

Class UdpRoute

Namespace
VpnHood.Core.Tunneling.Channels
Assembly
VpnHood.Core.Tunneling.dll

Represents where a session's datagrams go: the socket and the address, swapped as one, so a send never pairs one route's socket with another's address.

public sealed record UdpRoute : IEquatable<UdpRoute>
Inheritance
UdpRoute
Implements
Inherited Members

Constructors

UdpRoute(UdpChannelTransmitter, IPEndPoint)

Represents where a session's datagrams go: the socket and the address, swapped as one, so a send never pairs one route's socket with another's address.

public UdpRoute(UdpChannelTransmitter Transmitter, IPEndPoint EndPoint)

Parameters

Transmitter UdpChannelTransmitter

The transmitter whose socket sends the datagrams.

EndPoint IPEndPoint

The endpoint the datagrams go to.

Properties

EndPoint

The endpoint the datagrams go to.

public IPEndPoint EndPoint { get; init; }

Property Value

IPEndPoint

Transmitter

The transmitter whose socket sends the datagrams.

public UdpChannelTransmitter Transmitter { get; init; }

Property Value

UdpChannelTransmitter