AlpacaDiscoveryStartDiscovery Method
Start an Alpaca device discovery based on the supplied parameters
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
public void StartDiscovery(
int numberOfPolls,
int pollInterval,
int discoveryPort,
double discoveryDuration,
bool resolveDnsName,
bool useIpV4,
bool useIpV6
)
Public Sub StartDiscovery (
numberOfPolls As Integer,
pollInterval As Integer,
discoveryPort As Integer,
discoveryDuration As Double,
resolveDnsName As Boolean,
useIpV4 As Boolean,
useIpV6 As Boolean
)
public:
virtual void StartDiscovery(
int numberOfPolls,
int pollInterval,
int discoveryPort,
double discoveryDuration,
bool resolveDnsName,
bool useIpV4,
bool useIpV6
) sealed
Parameters
- numberOfPolls Int32
- Number of polls to send in the range 1 to 5
- pollInterval Int32
- Interval between each poll in the range 10 to 5000 milliseconds
- discoveryPort Int32
- Discovery port on which to send the broadcast (normally 32227) in the range 1025 to 65535
- discoveryDuration Double
- Length of time (seconds) to wait for devices to respond
- resolveDnsName Boolean
- Attempt to resolve host IP addresses to DNS names
- useIpV4 Boolean
- Search for Alpaca devices that use IPv4 addresses. (One or both of useIpV4 and useIpV6 must be True.)
- useIpV6 Boolean
- Search for Alpaca devices that use IPv6 addresses. (One or both of useIpV4 and useIpV6 must be True.)