The RMP Motion Controller APIs

◆ DiscoverSpecific()

ServerInfoCollection DiscoverSpecific ( DiscoveryType discovery_type,
const ServerInfoCollection & expected_servers,
const char *const node_name = "NodeB",
const uint64_t timeout_ms = 2500,
const int32_t broadcast_port = 60061 )
Parameters
discovery_typeThe hosts and platforms to find RapidServer processes on.
expected_serversA ServerInfo collection specifying the addresses and ports of the RapidServer instances expected to be discovered. When RapidServers with matching addresses and ports for all the ServerInfo objects in the given collection are discovered, the function will return. An empty collection will cause this function to immediately return.
node_nameThe INtime node to discover on (for discovering INtime servers).
timeout_msThe timeout in milliseconds. After the timeout duration has elapsed, the function will return a collection of servers that were discovered.
broadcast_portThe port number to broadcast discovery packets on. RapidServers listening on the same port will respond to the discovery broadcast.