findxsrvs
Purpose
Search xprmsrv servers on the local network.
Synopsis
procedure findxsrvs(group:integer,maxip:integer,addrs:set of string)
Arguments
|
group
|
Group number of the request
|
|
maxip
|
Maximum number of addresses to collect
|
|
addrs
|
Set to store the addresses found
|
Further information
1. This procedure sends a broadcast message over the local network and waits for replies from running
xprmsrv servers (see Section
The Mosel Remote Launcher xprmsrv). A given server will reply only to selected
group numbers: the
group argument specifies this property.
2. The IP addresses of the hosts having replied to the request are returned via the last argument of the procedure in the form of strings. The maximum size of this set is fixed by maxip. Note that the provided set is not cleared: if it already contains
maxip elements the routine returns immediately.
3. Control parameters
fsrvnbiter,
fsrvdelay and
fsrvport can be used to tune the behaviour of
findxsrvs. This routine repeats
fsrvnbiter times the following procedure: it sends a broadcast message to the
fsrvport UDP port and then waits for up to
fsrvdelay milliseconds for replies.
Related topics
Module
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
