Click or drag to resize

AlpacaDiscoveryStartDiscovery Method

Start an Alpaca device discovery based on the supplied parameters

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public void StartDiscovery(
	int numberOfPolls,
	int pollInterval,
	int discoveryPort,
	double discoveryDuration,
	bool resolveDnsName,
	bool useIpV4,
	bool useIpV6
)

Parameters

numberOfPolls
Type: SystemInt32
Number of polls to send in the range 1 to 5
pollInterval
Type: SystemInt32
Interval between each poll in the range 10 to 5000 milliseconds
discoveryPort
Type: SystemInt32
Discovery port on which to send the broadcast (normally 32227) in the range 1025 to 65535
discoveryDuration
Type: SystemDouble
Length of time (seconds) to wait for devices to respond
resolveDnsName
Type: SystemBoolean
Attempt to resolve host IP addresses to DNS names
useIpV4
Type: SystemBoolean
Search for Alpaca devices that use IPv4 addresses. (One or both of useIpV4 and useIpV6 must be True.)
useIpV6
Type: SystemBoolean
Search for Alpaca devices that use IPv6 addresses. (One or both of useIpV4 and useIpV6 must be True.)
See Also