/TCPproxy/trunk/HostUtils.cs |
---|
1,5 → 1,4 |
using System; |
using System.Collections.Generic; |
using System.Net; |
using System.Text; |
using System.Text.RegularExpressions; |
31,7 → 30,7 |
} |
else |
{ |
IPHostEntry hostInfo = Dns.GetHostEntry(host); |
IPHostEntry hostInfo = Dns.GetHostByName(host); |
if(hostInfo.AddressList.Length > 0) |
{ |