コード例 #1
0
ファイル: DnsServer.cs プロジェクト: ZaneDubya/Monolith
 public DnsServer(MasterFile masterFile, IPAddress endServer, int port = DEFAULT_PORT) :
     this(masterFile, new IPEndPoint(endServer, port))
 {
 }
コード例 #2
0
ファイル: DnsServer.cs プロジェクト: ZaneDubya/Monolith
 public DnsServer(MasterFile masterFile, string endServer, int port = DEFAULT_PORT) :
     this(masterFile, IPAddress.Parse(endServer), port)
 {
 }
コード例 #3
0
ファイル: DnsServer.cs プロジェクト: ZaneDubya/Monolith
 public DnsServer(MasterFile masterFile, IPEndPoint endServer) :
     this(new FallbackRequestResolver(masterFile, new UdpRequestResolver(endServer)))
 {
 }