| TcpServerGetDefaultListenerAddresses Method |
Gets the default addresses to listen on.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public static IPAddress[] GetDefaultListenerAddresses(
bool listen4And6
)
Public Shared Function GetDefaultListenerAddresses (
listen4And6 As Boolean
) As IPAddress()
public:
static array<IPAddress^>^ GetDefaultListenerAddresses(
bool listen4And6
)
static member GetDefaultListenerAddresses :
listen4And6 : bool -> IPAddress[]
Parameters
- listen4And6
- Type: SystemBoolean
If , return both IPv6 and IPv4 "Any" addresses; if ,
use only IPv6 if the OS supports it or only IPv4 if not.
Return Value
Type:
IPAddressThe IPv6 and/or IPv4 "any" addresses to listen on.
See Also