System.Net.IPEndPoint.IPEndPoint C# (CSharp) Method

IPEndPoint() public method

public IPEndPoint ( long address, int port ) : System.Net.Sockets
address long
port int
return System.Net.Sockets
        public IPEndPoint(long address, int port)
        {
            if (!TcpValidationHelpers.ValidatePortNumber(port))
            {
                throw new ArgumentOutOfRangeException(nameof(port));
            }
            _port = port;
            _address = new IPAddress(address);
        }

Same methods

IPEndPoint::IPEndPoint ( IPAddress address, int port ) : System.Net.Sockets