示例#1
0
        public void pump()
        {
            IPAddress target = null;

            if (IPResolver.ResolveIP("www.google.com", ref target))
            {
                _target.Send(target, _random.Next());
            }
        }
示例#2
0
 public bool Init(string name, string ipAddress)
 {
     _name         = name;
     IsInitialized = IPResolver.ResolveIP(ipAddress, ref _ip);
     return(IsInitialized);
 }