DnsServer(Int32, Int32) Constructor
Creates a new dns server instance which will listen on UDP and TCP on all available interfaces
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public DnsServer(
int timeout = 5000,
int keepAlive = 120000
)
Public Sub New (
Optional timeout As Integer = 5000,
Optional keepAlive As Integer = 120000
)
public:
DnsServer(
int timeout = 5000,
int keepAlive = 120000
)
new :
?timeout : int *
?keepAlive : int
(* Defaults:
let _timeout = defaultArg timeout 5000
let _keepAlive = defaultArg keepAlive 120000
*)
-> DnsServer
Parameters
- timeout Int32 (Optional)
- The timeout in milliseconds
- keepAlive Int32 (Optional)
- The keepalive period in milliseconds to wait for additional queries on the same connection