Example #1
0
        public static bool TryParse(String strAddress, out IPv4Address outaddr)
        {
            outaddr = null;

            if (IsValid(strAddress))
            {
                outaddr = new IPv4Address(strAddress);
            }
            return(outaddr != null);
        }
 public IPv4AddressPort(IPv4Address addr, UInt16 port)
     : this()
 {
     ParseAddressString(String.Format("{0}:{1}", addr, port));
 }
 public IPv4AddressPort(IPv4Address addr, int port)
     : this(addr, (UInt16)port)
 {
 }
Example #4
0
        public static IPv4Address ResolveHostName(String strHostName)
        {
            IPv4Address address = null;

            return(address);
        }
Example #5
0
 public IPv4ResolvedAddressPort(IPv4Address addr, UInt16 port)
     : this(String.Format("{0}:{1}", addr, port))
 {
 }