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. [Edit]

public IPEndPoint (IPAddress address, int port)

Parameters

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

Exceptions

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

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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