PowerTCP Mail for .NET
IPEndPoint Constructor(String,Int32)




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