Mono Class Library: System.Net.IPEndPoint Overview | Members

System.Net.IPEndPoint Constructor

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

public IPEndPoint (IPAddress address, int port)

Parameters

address
A System.Net.IPAddress instance containing the IP address of the endpoint.
port
The port number to use when accessing address . Specify zero to indicate any available port.

Exceptions

TypeReason
ArgumentNullExceptionaddress is null.
ArgumentOutOfRangeExceptionport is less than IPEndPoint.MinPort or greater than IPEndPoint.MaxPort.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0