UdpServerTransport Class

A transport used by a server using udp communication

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public class UdpServerTransport : IServerTransport, 
	IDisposable
Inheritance
Object    UdpServerTransport
Implements
IServerTransport, IDisposable

Constructors

UdpServerTransport(IPAddress, Int32) Creates a new instance of the UdpServerTransport
UdpServerTransport(IPEndPoint, Int32) Creates a new instance of the UdpServerTransport

Properties

AllowTruncatedResponses A value indicating, if truncated responses are allowed using this transport.
DefaultAllowedResponseSize The default allowed response size if no EDNS option is set.
SupportsMultipleResponses A value indicating, if the transport supports sending multiple response to a single query.
TransportProtocol The transport protocol this transport is using

Methods

AcceptConnectionAsync Waits for a new connection and return the connection
Bind Binds the transport to the network stack
Close Closes the transport
DisposeReleases all resources used by the UdpServerTransport
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

DEFAULT_PORT The default port of UDP DNS communication

See Also