TcpServerTransport Class

A 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 class TcpServerTransport : TcpServerTransportBase<TcpServerTransport>
Inheritance
Object    TcpServerTransportBaseTcpServerTransport    TcpServerTransport

Constructors

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

Properties

AllowTruncatedResponses A value indicating, if truncated responses are allowed using this transport.
(Inherited from TcpServerTransportBaseTTransport)
DefaultAllowedResponseSize The default allowed response size if no EDNS option is set.
(Inherited from TcpServerTransportBaseTTransport)
KeepAlive The keep alive timeout in milliseconds for waiting for subsequent queries on the same connection
(Inherited from TcpServerTransportBaseTTransport)
SupportsMultipleResponses A value indicating, if the transport supports sending multiple response to a single query.
(Inherited from TcpServerTransportBaseTTransport)
Timeout The read and write timeout of the transport in milliseconds
(Inherited from TcpServerTransportBaseTTransport)
TransportProtocol The transport protocol this transport is using
(Overrides TcpServerTransportBaseTTransportTransportProtocol)

Methods

AcceptConnectionAsync Waits for a new connection and return the connection
(Inherited from TcpServerTransportBaseTTransport)
Bind Binds the transport to the network stack
(Inherited from TcpServerTransportBaseTTransport)
Close Closes the transport
(Inherited from TcpServerTransportBaseTTransport)
Dispose
(Inherited from 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)

Fields

DEFAULT_PORT The default port of TCP DNS communication

See Also