DCDComponent.findAndSelectPort

Searches for an open port to spawn dcd-server in asynchronously starting with port, always increasing by one.

class DCDComponent
Future!ushort
findAndSelectPort
(
ushort port = 9166
)

Return Value

Type: Future!ushort

0 if not available, otherwise the port as number

Meta