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




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

Parameters

hostNameOrAddress
A hostname or an IPv4 or IPv6 string address. Empty string resolves to the first local IPv4 network interface.
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