IPEndPoint(IPAddress, Int32) Constructor |
Initializes a new instance of the IPEndPoint class with the specified address and port number.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic IPEndPoint(
IPAddress address,
int port
)
Parameters
- address IPAddress
- An IPAddress
- port Int32
- The port number associated with the address, or 0 to specify any available
port. port is in host order.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | port is less than IPEndPoint.MinPort. -or- port is greater than
MaxPort. -or- address is less than 0 or greater than 0x00000000FFFFFFFF. |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also