Class EdnsKeepaliveOption
TCP idle time.
Inherited Members
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public class EdnsKeepaliveOption : EdnsOption
Remarks
Signals a variable idle timeout. This signalling encourages the use of long-lived TCP connections by allowing the state associated with TCP transport to be managed effectively with minimal impact on the DNS transaction time.
Constructors
| Improve this Doc View SourceEdnsKeepaliveOption()
Creates a new instance of the EdnsKeepaliveOption class.
Declaration
public EdnsKeepaliveOption()
Properties
| Improve this Doc View SourceTimeout
The idle timeout value for the TCP connection.
Declaration
public TimeSpan? Timeout { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> | The resolution is 100 milliseconds. |
Methods
| Improve this Doc View SourceReadData(WireReader, Int32)
Read the data that is specific to the option Type.
Declaration
public override void ReadData(WireReader reader, int length)
Parameters
Type | Name | Description |
---|---|---|
WireReader | reader | The source of the option's data. |
Int32 | length | The length, in bytes, of the data. |
Overrides
Remarks
Derived classes must implement this method.
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceWriteData(WireWriter)
Write the data that is specific to the resource record Type.
Declaration
public override void WriteData(WireWriter writer)
Parameters
Type | Name | Description |
---|---|---|
WireWriter | writer | The destination for the option's data. |
Overrides
Remarks
Derived classes must implement this method.