PowerTCP SSH and SFTP for .NET
IPEndPoint Constructor(String,Int32)




A hostname or an IPv4 or IPv6 string address. Empty string resolves to the first local IPv4 network interface.
The port to bind to.
Creates an IPEndPoint using a hostname or string address, and port.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostNameOrAddress As String, _
   ByVal port As Integer _
)
'Usage
 
Dim hostNameOrAddress As String
Dim port As Integer
 
Dim instance As New IPEndPoint(hostNameOrAddress, port)
public IPEndPoint( 
   string hostNameOrAddress,
   int port
)
public: IPEndPoint( 
   string* hostNameOrAddress,
   int port
)
public:
IPEndPoint( 
   String^ hostNameOrAddress,
   int port
)

Parameters

hostNameOrAddress
A hostname or an IPv4 or IPv6 string address. Empty string resolves to the first local IPv4 network interface.
port
The port to bind to.
Remarks

The hostNameOrAddress parameter is limited to 126 characters in pre-4.0 versions of the .NET Framework, and 255 characters in versions 4.0 and higher.

If hostNameOrAddress is a hostname, resolves to the IPv4 address.

See Also

Reference

IPEndPoint Class
IPEndPoint Members
Overload List


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic