TcpServerTransportBaseTTransport Class

A abstract base transport used by a server using tcp communication

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public abstract class TcpServerTransportBase<TTransport> : IServerTransport, 
	IDisposable
where TTransport : TcpServerTransportBase<TTransport>
Inheritance
Object    TcpServerTransportBaseTTransport
Derived
Implements
IServerTransport, IDisposable

Type Parameters

TTransport
The type of the implemented transport

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.
KeepAlive The keep alive timeout in milliseconds for waiting for subsequent queries on the same connection
SupportsMultipleResponses A value indicating, if the transport supports sending multiple response to a single query.
Timeout The read and write timeout of the transport in milliseconds
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 TcpServerTransportBaseTTransport
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)

See Also