Class UdpRoute
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
TransmitterUdpChannelTransmitterThe transmitter whose socket sends the datagrams.
EndPointIPEndPointThe endpoint the datagrams go to.
Properties
EndPoint
The endpoint the datagrams go to.
public IPEndPoint EndPoint { get; init; }
Property Value
Transmitter
The transmitter whose socket sends the datagrams.
public UdpChannelTransmitter Transmitter { get; init; }