System.Net.IPEndPoint Members

The members of System.Net.IPEndPoint are listed below.

See Also: Inherited members from System.Net.EndPoint

Public Constructors

Initializes a new instance of the System.Net.IPEndPoint class with the specified address and port number.

Initializes a new instance of the System.Net.IPEndPoint class with the specified address and port number.

Public Fields

const
MaxPortint (65535).

Specifies the maximum value that can be assigned to the IPEndPoint.Port property. The MaxPort value is set to 0x0000FFFF. This field is read-only.

const
MinPortint (0).

Specifies the minimum value that can be assigned to the IPEndPoint.Port property. This field is read-only.

Public Properties

AddressIPAddress.

Gets or sets the IP address of the endpoint.

[read-only]
override
AddressFamilySystem.Net.Sockets.AddressFamily.

Gets the Internet Protocol (IP) address family.

Portint.

Gets or sets the port number of the endpoint.

Public Methods

override
Create(SocketAddress) : EndPoint

Creates an endpoint from a socket address.

override
Equals(object) : bool

Determines whether the specified object is equal to the current System.Net.IPEndPoint instance.

override
GetHashCode() : int

Returns a hash value for a System.Net.IPEndPoint instance.

override
Serialize() : SocketAddress

Serializes endpoint information into a System.Net.SocketAddress instance.

override
ToString() : string

Returns the IP address and port number of the specified endpoint.