IPEndPoint Constructor (Int64, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the IPEndPoint class with the specified address and port number.
Namespace: System.Net
Assembly: System (in System.dll)
Syntax
'Declaration
Public Sub New ( _
address As Long, _
port As Integer _
)
public IPEndPoint(
long address,
int port
)
public:
IPEndPoint(
long long address,
int port
)
new :
address:int64 *
port:int -> IPEndPoint
public function IPEndPoint(
address : long,
port : int
)
Parameters
- address
Type: System. . :: . .Int64
The IP address of the Internet host.
- port
Type: System. . :: . .Int32
The port number associated with the address, or 0 to specify any available port. port is in host order.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.