The IpEndPoint type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
IpEndPoint |
Initialises a new instance of the IpEndPoint class,.
| |
IpEndPoint(Int32) |
Initialises a new instance of the IpEndPoint class, with the localhost IP address (127.0.0.1) and the specified port.
| |
IpEndPoint(String) |
Initialises a new instance of the IpEndPoint class, with the specified host.
| |
IpEndPoint(IpEndPoint) |
Initialises a new instance of the IpEndPoint class, which is a copy of the specified IpEndPoint object.
| |
IpEndPoint(IntPtr, Boolean) |
For internal use only. Of no interest to the user.
| |
IpEndPoint(String, Int32) |
Initialises a new instance of the IpEndPoint class, with the specified host and port.
| |
IpEndPoint(String, Int32, IpEndPoint AddressType) |
Initialises a new instance of the IpEndPoint class, with the specified host, port and addressType.
|
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the IpEndPoint | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAddressType |
Gets the address type.
| |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Represents this object as a string, e.g. "localhost:8080".
(Overrides Object ToString .) | |
WithPort |
Initialises a new instance of the IpEndPoint class, which is a copy of this IpEndPoint object,
and sets the specified port number.
|
Properties
Name | Description | |
---|---|---|
All |
Gets an IpEndPoint object which has the IP address that represents all IP addresses (usually only used in server scripts).
| |
Any |
Gets a wildcard IpEndPoint object.
The returned object represents an IP address and port where the actual values used by the low level communication layers will be determined by the Operating System.
| |
Broadcast |
Gets an IpEndPoint object which has an IP address that represents the broadcast address.
| |
Host |
Gets the host (IP address).
| |
IsAll |
Gets a value that indicates whether this is the All IpEndPoint.
| |
IsBroadcast |
Gets a value that indicates whether this object has an IP address representing the broadcast address.
| |
IsLegal |
Gets a value that indicates whether this object is in a legal state and ready for use by the API.
| |
IsStandard |
Gets a value that indicates whether this object has a standard IP address and port.
| |
Local |
Gets an IpEndPoint object with the localhost IP address (127.0.0.1).
| |
None |
Gets a none IpEndPoint object.
The returned object represents an uninitialised IpEndPoint.
| |
Port |
Gets the port number.
|
See Also