예제 #1
0
 public DnsServer(MasterFile masterFile, IPAddress endServer, int port = DEFAULT_PORT) :
     this(masterFile, new IPEndPoint(endServer, port))
 {
 }
예제 #2
0
 public DnsServer(MasterFile masterFile, string endServer, int port = DEFAULT_PORT) :
     this(masterFile, IPAddress.Parse(endServer), port)
 {
 }
예제 #3
0
 public DnsServer(MasterFile masterFile, IPEndPoint endServer) :
     this(new FallbackRequestResolver(masterFile, new UdpRequestResolver(endServer)))
 {
 }