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




A hostname or string address.
The IPAddress in string notation.
The port to bind to.
The range of ports, starting at port, to attempt to bind to.
Creates an IPEndPoint using a hostname or address, address, port and range.
Syntax
Public Function New( _
   ByVal hostNameOrAddress As String, _
   ByVal address As String, _
   ByVal port As Integer, _
   ByVal range As Integer _
)
Dim hostNameOrAddress As String
Dim address As String
Dim port As Integer
Dim range As Integer
 
Dim instance As New IPEndPoint(hostNameOrAddress, address, port, range)
public IPEndPoint( 
   string hostNameOrAddress,
   string address,
   int port,
   int range
)
public: IPEndPoint( 
   string* hostNameOrAddress,
   string* address,
   int port,
   int range
)
public:
IPEndPoint( 
   String^ hostNameOrAddress,
   String^ address,
   int port,
   int range
)

Parameters

hostNameOrAddress
A hostname or string address.
address
The IPAddress in string notation.
port
The port to bind to.
range
The range of ports, starting at port, to attempt to bind to.
Remarks

This constructor is typically used to serialize the IPEndPoint and does not resolve hostNameOrAddress. The hostname can be needed for some proxies.

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