PowerSNMP for .NET
IPEndPoint Constructor(String,AddressFamily,Int32)




A hostname or string address. Empty string resolves to the first local network interface in the specified AddressFamily.
The System.Net.Sockets.AddressFamily to match if resolving a hostname.
The port to bind to.
Creates an IPEndPoint using a hostname or address, port, and AddressFamily.
Syntax
Public Function New( _
   ByVal hostNameOrAddress As String, _
   ByVal addressFamily As AddressFamily, _
   ByVal port As Integer _
)
Dim hostNameOrAddress As String
Dim addressFamily As AddressFamily
Dim port As Integer
 
Dim instance As New IPEndPoint(hostNameOrAddress, addressFamily, port)

Parameters

hostNameOrAddress
A hostname or string address. Empty string resolves to the first local network interface in the specified AddressFamily.
addressFamily
The System.Net.Sockets.AddressFamily to match if resolving a hostname.
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.

See Also

Reference

IPEndPoint Class
IPEndPoint Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic