PowerTCP Emulation for .NET
IPEndPoint Constructor(String)




A hostname or an IPv4 or IPv6 address. Empty string resolves to the first local IPv4 network interface.
Creates an IPEndPoint using a hostname or address, and port 0.
Syntax
Public Function New( _
   ByVal hostNameOrAddress As String _
)
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 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 Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic